Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image from RSS feed #1

Open
wasabinootje opened this issue Jun 5, 2017 · 0 comments
Open

Image from RSS feed #1

wasabinootje opened this issue Jun 5, 2017 · 0 comments

Comments

@wasabinootje
Copy link

Hey awesome job on the work done here and making it easier to build a bot from scratch.

Was wondering though, how in this function:

/**

  • Get Feed Data
  • @param $url Feed url
  • @param $bot Bot instance
  • @param $message Received message
  • @return bool
    */
    function getFeed($url, $bot, $message)

You could use the image from the RSS feed for an article to make the button for the "read more", more like this:

screen shot 2017-06-05 at 11 20 08

For me on a WordPress feed, this is the first item in here:

content:encoded<![CDATA[

Thanks for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant