tobi,
November 7, 2002 at 4:04:39 PM CET
rss output please help, i need some advice from an expert how to do the rss output right, finally. i think i made quite a lot of moves regarding the encoding of description values (from no encoding over <-like encoding to CDATA sections). now there's muttering about the CDATA again, which leads me back to <-like encoding or even way back to the beginning because "use of encoding within description elements considered harmful"... so please, somebody who admires his own expertise in rss questions might state a last word now and please not for the sake of any specific feedreader having troubles with rss but for the sake of the rss specs and a format we still can use in the near future: which way to do it right? (ie. if/how to encode html tags, if/how to encode special characters etc.) ps. CDATA has to go definitely.
hns,
November 7, 2002 at 7:06:35 PM CET
Re: rss output The question is not the encoding, the question is whether we want to strip HTML tags for RSS output. I think we should. If you write out PCDATA you do have to encode certain characters as entities. It's not a problem, that article you link doesn't make any sense at all to me.
tobi,
November 8, 2002 at 9:49:22 AM CET
Re: Re: rss output that article you link doesn't make any sense at all to me could you be a bit more specific with your criticism?
hns,
November 8, 2002 at 11:12:01 AM CET
Re: Re: rss output could you be a bit more specific with your criticism? Sure. If you have something like a "<" character in XML text, you have 3 possibilities:
Again: First we have to decide if and where to allow HTML tags (for example I'd say stripping HTML tags from titles but leaving them in the descriptions would be a sane decision). If we do have HTML tag characters, the way to encode them is definitely as predefined character entities in PCDATA.
tobi,
November 8, 2002 at 11:52:12 AM CET
Re: Re: rss output thanks for the clarifying words, hannes. i'm +1 for encoding html and +1 for completely removing html from the title. i also would like to see the descriptions being without any markup at least in rss readers. but maybe then i have to make the right choice of software (ie. a reader that strips the tags before displaying the feed). what do you think? to complete this rss task, i also would like to discuss how long the descriptions should be. i am really against putting the whole story in there, instead i'd prefer a short teaser (maybe a little bit longer than in the history e.g. on this site). however, we could leave it up to the user's choice. last but not least: in the current version of antville the new content model can lead to rss feeds that are completely useless, ie. when the site's stories aren't using the title and/or text properties anymore (which the rss skin relies on). so the question is: fully enable the rss skin in the skin manager or create a meta editor to assign a story content part to the title and description fields of the rss output (a suggestion by robert, btw)...? ... comment
|
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8577 Days
last updated: 1/4/11, 10:22 AM Youre not logged in ... Login
... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
|