[pmwiki-users] PTV in feed

Benjamin Grassineau benjamingrassineau at gmail.com
Tue May 12 04:48:48 PDT 2020


Hello everybody !

Do you think it is possible to insert a page text variable in a RSS feed ?

I saw that it is possible with page variables, like this :

|$FeedFmt['rss']['item']['title'] = '{$Title}';|

But I would like to have something like that :

|$FeedFmt['rss']['item']['title'] = '{$:var}';|

So I tried to create a php variable with this :

|$var=PageVar(|$pagename| 
<https://www.pmwiki.org/wiki/PmWiki/BasicVariables#pagename>,'$:var')|

But this code doesn't work.

|$FeedFmt['rss']['item']['title'] = '{$var}';|

Nothing in "output feed" (sorry for my awful english !).

Someone have an idea ?

Thanks for your answers.

Benjamin


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20200512/f10cb9db/attachment.html>


More information about the pmwiki-users mailing list