Skip to content

A Python 3 application to post notifications to pnut.io when an RSS feed is updated.

License

Notifications You must be signed in to change notification settings

bazbt3/rssupdatepnut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rssupdatepnut RSS feed updates post to pnut.io.

What is 'rssupdatepnut'?

A Python 3.5 application to post notifications to pnut.io and Twitter when an RSS feed is updated.

Application is currently tested in Pythonista iOS and my web host. Whilst it can run standalone it's more likely to be useful when run every hour (or 2, 3…) either as a pythonanywhere 'task' or a cron job at a web host.

Prerequisites:

  • a pnut.io account,
  • pnut.io application token - read from a separate file to give some portability to the code:
  • pnut_app_token.txt
  • The PNUTpy libraries: pip install pnutpy.
  • The feedparser RSS, er… feed parser: pip install feedparser.
  • A means of achieving Twitter auth to post, e.g. my TwigPen module. (Temporarily removed.)

Note: the code can be run with minor modifications to alert independently of a pnut.io account. Put simply, add stuff to make it happen. Er…

So I did, TwigPen, a post-only wrapper to post to Twitter using Twython.

About

A Python 3 application to post notifications to pnut.io when an RSS feed is updated.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages