Search the web
Sign In
New User? Sign Up
radio-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Several RSS publishing fixes   Message List  
Reply | Forward Message #8092 of 8443 |
I've read a few complaints in the Radio discussion group about
several issues in the creation of RSS files, notably for RSS
publishing in categories.

Here are a number of fixes I've been using for some time, all polished
and documented for the occasion.

The first patch replaces radio.weblog.writeRssFile with
a copy that corrects a bug preventing shortcuts to be expanded
properly in item descriptions [1].

It adds 2 bundles inside the items publishing loop, the first adds the
missing adrpost and glossary entries to the page table, then sets the
official pageTableAddress, the second resets the pageTableAddress when
finished processing macros.

The second patch is an update to radio.weblog.publishCategoryRss to
add more options to the formatting of the RSS title of a category
feed, instead of forcing authorName: adrcat^.displayName [2].

The new code creates the title as adrcat^.displayName by default. It
then checks 2 new category dependent prefs,
adrcat^.flAddAuthorNameToRssTitle and adrcat^.flAddBlogTitleToRssTitle
to prefix the title with either the author name or the site name.

These 2 new prefs can be set in the category modification desktop
website page, as created by the updated radio.weblog.editCategory [3].

The updated editCategory code needs access to a new entry in the
English localisation table, defined in editRssTitle [4].

These patches have been working on my Radio installations for quite
some time without a glitch. I hope the Userland crew will include them
in the main distribution of Radio, after thoroughly reviewing them and
modifying them if need be.

Cheers

Marc

1: http://updates.prec-it.com/download/parts/writeRssFile.ftsc
2: http://updates.prec-it.com/download/parts/publishCategoryRss.ftsc
3: http://updates.prec-it.com/download/parts/editCategory.ftsc
4: http://updates.prec-it.com/download/parts/editRssTitle.fttb




Thu Mar 4, 2004 2:10 pm

mb1022002
Offline Offline
Send Email Send Email

Forward
Message #8092 of 8443 |
Expand Messages Author Sort by Date

I've read a few complaints in the Radio discussion group about several issues in the creation of RSS files, notably for RSS publishing in categories. Here are...
Marc Barrot
mb1022002
Offline Send Email
Mar 4, 2004
2:11 pm

Interesting patches. How are you dealing with the fact that UserLand can overwrite these patches at any time with a root update? I avoid releasing patches to...
Rogers Cadenhead
rcade
Offline Send Email
Mar 4, 2004
3:12 pm

... This is precisely my point: by all means, Userland, *do* release patches to these Frontier parts to address the problems I've solved ... wouldn't have...
Marc Barrot
mb1022002
Offline Send Email
Mar 4, 2004
3:48 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help