Convert twitter stream to eZ RSS feed.
Just the eZ Publish part, and just for demo on localhost in os X. If you don't know anything about RSS, learn that first.
- Create a new class to hold the imported RSS items as described in the much more complete Paul Wilson article regarding RSS.
- Create a new folder in the content structure, in this case named "Contains Test RSS stuff"
- Setup->RSS->New Import, Name Twitter Stream or something like that, paste the twitter rss feed url into the url box and click the Update button.
- Set the destination to the folder created in step 2
- Drop down the "Class" selector, select the RSS class created in Step 1, click the Set button.
- Mapping of class attributes is then straightforward.
- In a terminal window in OS X, switch to the eZ Publish directory in /Library/Webserver/Documents
- # /usr/bin/php runcronjobs.php
- Clear cache in admin
- Set the "Contains Test RSS stuff" folder created above to sort by "Published" "Descending" - corrected, not "Ascending" as in picture
- View the results in a web browser
I use something very similar all day every day as a most excellent command line time and expense tracker, and practically stream-of-consciousness note taker. Thanks to binny va for sparking the idea.
