>> While installing the newest rss plugin, I got a preliminary success.
>> But still found some problem there.
>>
>> 1) Every time editing the rss page, the script adds the rss link
>> (something like:http://www.domain.com/?p=rss&action=rss) to the
>> beginning of the content.
Try moving the page outside of the rss hierarchy, like blog.rss or
main.rssfeed or whatever. Put your list of pages there. It should
display like a normal list. Then may add action=rss to the link to get
the rss. If you put it in the rss hierarchy you will get the rss skin,
which is NOT html, it is rss. So it won't display right in your
browser.
>> 2) The first <title> tag should be site title ( $$name), but currently
>> it is the {title} of the rss page.
You can hack the rss.php again to do this. Simple change line 22 from
htmlspecialchars(BOLTvars("$page:title"))
to
"Whatever Title You Want"
We could make it configurable, or hardcode it to use the site title of
course. But I chose the page title, because a site could have multiple
blogs, each one with a different title. Suppose you had multiple
authors--it would be easy to create a separate blog for each one, and
a simultaneous site blog as well. So I don't want to change the plugin
default behavior, other than perhaps to make it configurable.
>> 3) The rss page itself become one of the rss items. It should not,
>> right?
It should not. Make sure it is not in the list. When you move it out
of the rss hierarchy you should see a list of all the pages that are
in the feed.
> And I further tested if it support "full text" output. I think it's
> not. If I use template like this:
The feed is created dynamically, strictly from a list of page names.
It uses the title of each page and the description of each page in
constructing the feed. So those pages need to have those two data
values. We could probably change the feed to use the full page content
if desired. But you would have to hack the rss.php file, not the
search template. That will corrupt the feed.
The hack would involve something like changing line 23 of rss.php from
BOLTvars("$page:description")
to
BOLTdomarkup(BOLTloadpage($page))
Not tested...
Ideally, I think, we should probably have more options for the rss feed.
1) Where to get titles from (this can all be automatic)
Title parameter in the feed function, if not set
Page Title, if not set
Site Title.
2) Where to get descriptions from
Page Titles
Full Page Content (HTML/TEXT)
Custom Teaser Function
3) Permalinks
Connected with info vars...
Perhaps others. I'm not a big RSS user, so it's more a question of
learning what we want than how to do it at this point. I understand
the technology and how to generate stuff. Just, what do we want to
generate?
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---