Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Changing the RDF Format Feature Requests
By amboy00 , Section Wishlist []
Posted on Wed Mar 02, 2005 at 12:00:00 PM PST
Blog syndication taking off with new apps like NetNewsWire and websites like my.Yahoo and LiveJournal.  Most blogs offer some sort of RSS feed for their site.

Blogger.com, with its whatever.blogspot.com gives the option of publishing ones blog in either RSS or ATOM formats.  Most of the feeds available now include the HTML from the story.  Tags like IMG or UL are a part of the story.  

RDF (or at least the settings on my site) done publish any html tags in the story.  What I end up with on my RDF file is a very long, run on paragraph with no formatting.  That doesn't make for easy reading.

I'd like to write a cron that publishes my RDF file how I would like it to appear, but I dont see anything like that available in my controls.  I can write a "box" to do that, but how do I write that to a file and how do I set that up in the CRON list?

I'm hosted with an ISP for my Scoop site so I dont have my own server to tinker with either.

Any suggestions?

< Collaborative Media Scoop | Scoop Box Exchange 1.1 Released! >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Feature Requests
· Also by amboy00

Story Views
  92 Scoop users have viewed this story.

Display: Sort:
Changing the RDF Format | 5 comments (5 topical, 0 hidden)
Writing a box that generates an RDF file (none / 0) (#1)
by hillct on Sun Mar 06, 2005 at 08:10:58 AM PST

Actually writing the box that generates an RDF file is just a matter of generating the list of entries and writing to the target file. Once you've done this, setup the cron entry as follows:
  1. Browse to http://demo.scoophost.com/admin/cron
  2. Select the checkbox next to 'rdf' and the radio button 'toggle enabled'.
  3. Click Save Crons - this will disable the current RDF file generation cron entry.
  4. Enter an arbitrary cron name for your new entry in the bottom left textbox.
  5. Leave the 'Is Box' checkbox checked
  6. Enter the name of the box you created, in the next textbox
  7. In the righthand textbox, enter the frequency at which you want to run the cron (1d - One Day or 1h - One Hour would be my recommendation)
Another option is to launch your RDF generating box using the 'story_post' hook, which would cause the RDF file to be regenerated imediately after a new story is posted, rather than having to wait for the cron job to run.

You can read more about Cron or Hooks in the Scoop Administration guide.


--
ScoopHost.com - Premier Scoop Hosting and custom development from the lead developers.


A Good idea (none / 0) (#4)
by seekl on Mon May 16, 2005 at 09:27:23 PM PST

A Good idea



interesting (none / 0) (#5)
by asder on Thu Mar 06, 2008 at 03:43:31 AM PST

interesting idea. cialis



Changing the RDF Format | 5 comments (5 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search