Skip to content
This repository was archived by the owner on Dec 29, 2017. It is now read-only.

Plugin Idea: Packt Free Ebook listings notifications #10

Open
daredevil82 opened this issue Jun 9, 2017 · 5 comments
Open

Plugin Idea: Packt Free Ebook listings notifications #10

daredevil82 opened this issue Jun 9, 2017 · 5 comments

Comments

@daredevil82
Copy link

daredevil82 commented Jun 9, 2017

The publisher Packt has a free ebooks page that updates every 24 hours or so, and a good portion of them are related to channel topics and Python in general. We could define a list of criteria for a book to match, and plugin to check the current day's offering. If the book matches the criteria, it would then post a link in the #general channel.

An additional enhancement would be to check the Amazon API for the user review count and stars for the book and include that in the channel posting.

@daredevil82 daredevil82 changed the title Plugin Idea: Packt Free Ebook listings Plugin Idea: Packt Free Ebook listings notifications Jun 9, 2017
@ovv
Copy link
Member

ovv commented Jun 9, 2017

Thanks for the idea.

Do you know if they provide an rss feed ?
A general plugin to follow RSS feeds would be more globally usable.

PS: I update your comment because the link was bugged

@daredevil82
Copy link
Author

I agree a RSS feed would be easier, but I don't believe Packt offers such a stream, unfortunately. I am signed up for email notifications from them, but it is around a twice-monthly sort of thing.

They do have their own subreddit, but postings are somewhat inconsistent.

@ovv
Copy link
Member

ovv commented Jun 9, 2017

Email and reddit are both services I hope to integrate at one point :)

I'm not big onto scrapping but you are more than welcome if you want to give it a shot. We might need #9 first.

@daredevil82
Copy link
Author

Yes, since this would be a scheduled task. I'd need to learn the slackbot API first, though.

Right now, this is just the idea. I'd be able to to the scraping code, but the slack integration is a big ❓❓❓ for me.

@ovv
Copy link
Member

ovv commented Jun 9, 2017

Well I'm trying to simplify as much as possible the slack integration.

You can look here and here for some example of how the messages are built with sirbot.

@ovv ovv added the feature label Jul 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants