An open API service indexing awesome lists of open source software.

https://github.com/cdevroe/rss2twitter-php5

Read an RSS feed and submit any new links to Twitter using PHP5.
https://github.com/cdevroe/rss2twitter-php5

Last synced: about 1 month ago
JSON representation

Read an RSS feed and submit any new links to Twitter using PHP5.

Awesome Lists containing this project

README

          

h1. RSS to Twitter using PHP 5

*By:* Colin Devroe
http://cdevroe.com/
http://github.com/cdevroe
https://github.com/cdevroe/rss2twitter-PHP5

h2. Description:

p. Grabs an RSS feed and updates a single Twitter account with a link to any new post.

h2. Installation:

# Register your app at: http://dev.twitter.com/apps/new (Be sure to set it up as Read & Write!)
# Update the Setup area of rss2twitter.php
## This includes consumerKey,consumerToken,oAuthToken,oAuthTokenSecret from dev.twitter, RSS feed URL, and Cache directory (optional)
# Authorize your domain for the application on dev.twitter
## To setup a test you can always add localhost
# Make the /cache/ directory writable or change its location
# Copy to your server.
# Set up cron job. Example: /usr/local/php5/bin/php /path/to/script/rss2twitter.php

p. That's it!

h2. Licensing:

p. RSS to Twitter is released under the GPL License. This license is provided in license.txt. The Twitter class by Tijs Verkoyen is released under the BSD License and that is included in twitter.php

h2. To do:

p. (If anyone would like to take these on, please feel free.)

# Add an option to easily update the tweet syntax.

h2. Version History:

*2.0 - December 29, 2010
- Now uses OAuth for authentication
- Removed option to tweet only a single blog category
- Added Twitter class by Tijs Verkoyen http://classes.verkoyen.eu/
- Improved caching
- Updated Readme.textile

*1.0 - December 29, 2010
- Tagged and branched for future revision

*0.4 - January 25, 2010*
- Changed wpUrl to feedUrl
- Changed shortUrl to $post->link

*0.3 - January 24, 2010*
- categoryToTwitter is optional
- Took away the "plural category name" check

*0.2 - January 22, 2010*
- Slight code clean up.
- A few readme changes.

*0.1 - December 6, 2009*
- Initial codebase.