On 3月31日, 上午12時03分, The Editor <[email protected]> wrote:
> I've been doing a little tinkering with the rss fee plugin. Perhaps I
> can get some feedback. As per my new code the overall feed title is
> derived from
>
> 1) parameter title if set in rssfeed function
> 2) page title if set
> 3) title snippet (from skin or site snippet pages)
This is great.
> The rss description is generated from the output parameter with the
> following options:
What is "output parameter"? Where can I set it?
> 1) if text, the plain source of the page
> 2) if html, the page source rendered into html (most markup rules)
> 3) if the BOLTrss + value is defined as a function, it takes the
> output of that function (given a page name)
> 4) if some data variable (like description or teaser or whatever) that
> data value is used
> 5) if not set (or set to teaser) it takes the first 250 chars of text
> and exports (site.config, change with rsslength: ###).
> I also added a default teaser function as an example. But I'm not sure
> if the teaser should be rendered to html or left as plain text. And
> either way, what happens if the text is cut off right in the middle of
> a markup or something? Currently it is plain text followed by ...
>
> Well, I just uploaded the new script for testing and feedback. This
> really adds some nice functionality. Let me know if you find any
> problems, or have input on the default behavior, or if there are any
> options I missed. I think the thing is pretty cool.
>
> BTW, to change the default settings you edit the code.skin.rss. I
> guess we need to change that too, so you can have different feeds
> generate different kinds of output. I'll think about that some more.
> Anyway, it's a step...
If I want to output the full text, what should I set in
"code.skin.rss" or other place?
Cheers, linly
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---