[pmwiki-devel] Cookbook proposal: BlogIt-RSS

Markus Konrad mako at mako-home.de
Wed Jun 23 17:33:38 CDT 2010


Thank you for your comments. I fixed these points and uploaded the
script to http://pmwiki.org/wiki/Cookbook/BlogItRSS. I also created a
link from BlogIt to BlogItRSS. Please have a look if everything is alright.

Let me know when you integrated the script into BlogIt. I can then
delete the cookbook again.

Bye,
Markus


On 06/23/2010 02:30 AM, DaveG wrote:
>
>
> On 6/22/2010 7:07 AM, Markus Konrad wrote:
>> Hi there!
>> I love BlogIt, but I always found the solution for making RSS-feeds for
>> it that is described at
>> http://www.bekolay.org/wiki/Tutorials/PmWikiBlogAdministration somewhat
>> unsatisfying. First of all, the configuration is not very simple,
>> especially for beginners. Next, the RSS feed is not in sync with the
>> blog posts on your website if you, for example, delete a post.
>> So I've created a simpler solution using pagelists and put it into a
>> cookbook, so it's easy to set up. Please have a look at it at
>> http://www.hello-it.eu/uploads/blogit-rss.zip
>> Here is a configuration sample:
>>
>> //RSS for BlogIt (always add these lines AFTER you have included the
>> BlogIt
>> //script!)
>> // Define a page under which the RSS feed will be available. This page
>> does not
>> // have to exist, it is just for the RSS feed URL, which will be like:
>> // http://yoursite.com/index.php/Newsfeeds/Blog
>> $bi_RSSPage = 'Newsfeeds.Blog';
>> // Enter the group in which your blog entries are always posted.
>> $bi_RSSGroup = $bi_DefaultGroup;
>>
>> include_once("$FarmD/cookbook/blogit-rss.php");
>>
>> What do you think of it (this goes especially out to the author of
>> BlogIt, DaveG ;)? Shall I release it as a Cookbook or should it be
>> integrated into BlogIt?
> Firstly, thanks for taking the time to do this. Incorporating the
> config for RSS feed setup has been on the todo list for a while, but
> the instructions from Bekolay removed any urgency on my part. I think
> your cookbook is another excellent step to making the config easier.
>
> Unfortunately right now I don't have time to incorporate the ideas
> into BlogIt, but I will shift the RSS request up the queue, so it will
> be incorporated in some form sooner, not later.
>
> In the interim perhaps setup this up as a separate recipe; feel free
> to add links to it from the BlogIt page.
>
> A few quick comments on the recipe:
>  - FeedText() function ignores PmWiki permissions on the page. So this
> will display pages that users may not have permissions to see.
>  - You are assuming that all pages in the Blog group are BlogIt pages,
> which may not be true. You'd need to check for PTV entrytype=='blog'.
>
>
>  ~ ~ Dave



More information about the pmwiki-devel mailing list