[dokuwiki] Re: optimize rss cache

Thanks, a bit of "export_xhtmlbody" and ksh did the trick !

Le Jeu 27 novembre 2008 23:51, JEAN MARC MASSOU a écrit :
> Take a look to this great feature still experimental :
>
> http://www.dokuwiki.org/devel:xmlrpc
>
> perhaps this could help :
>
> export_raw
>
>    - Returns the page's source as text/plain
>    - Example: http://www.dokuwiki.org/export?do=export_raw
>
> take a look at this :
>
> http://www.dokuwiki.org/export?s[]=export
>
> Moreover i think there is a parameter into the rss syntax :
>
> Parameter Description   any number will be used as maximum number items to
> show, defaults to 8   reverse display the last items in the feed first
>  author show
> item authors names   date show item dates   description show the item
> description. If HTML <http://www.dokuwiki.org/config:htmlok> is disabled
> all
> tags will be stripped   *n*[dhm] refresh period, where d=days, h=hours,
> m=minutes. (e.g. 12h = 12 hours)
> And something about syndication in the config help file :
>
> from here :
>
> http://www.dokuwiki.org/config:rss_update
>
>
>
>
>
> 2008/11/27 Joel Carnat <joel@xxxxxxxxxx>
>
>> Hello,
>>
>> My RSS aggregator page takes quite some time to pop up - about 6 or 7
>> seconds to get output for 5 feeds. I would like to optimize this.
>>
>> Looking at how other tools (namely drupal and wordpress) do, I'm
>> wondering
>> if I can achieve the same kind of thing with DW. The idea would be to
>> run
>> the rss update action from the crontab so that the DW cache would always
>> be up to date when the DW page rendering request happens.
>> I thought about something like setting a 10min cache in {{rss>>}} and
>> calling the page every 9min from the crontab but I expect DW to be
>> smarter
>> that that :)
>>
>> Is there a way to manually force an update to happen from crontab ?
>>
>> Or is there a way to get RSS output in a DW format ?
>> That is getting :
>> ==== RSS subject ====
>>  * item 1
>>  * item 2
>> So I could call this from the crontab and redirect into a "static" DW
>> page.
>>
>> Any other optimizing thoughts|tricks ?
>>
>> TIA,
>>    Jo
>>
>> --
>> DokuWiki mailing list - more info at
>> http://wiki.splitbrain.org/wiki:mailinglist
>>
>


-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: