The tpl parameter is needed to select the RSS template. Why would be an URL
like: http://site/?tpl3 create any problem?
Mugur
On Sat, Feb 20, 2010 at 6:50 PM, wrote:
> Author: RobertB
> Link: http://code.campware.org/phorum/read.php?8,8152,8152#msg-8152
>
> --------------------------------------------------------------------------------
>
> Today I create RSS feed for our web.
> I followed the instructions in the manual:
> http://code.campware.org/manuals/campsite/3.3/index.php?id2&lang=en-us
>
> Everything went OK, but I stumbled on this problem:
>
> 1. If I make new section for RSS and assign rss template to this section
> Everything is OK. The links to the news in RSS feed are valid.
>
> 2. If I make link to RSS feed by "URI" keyword:
> {{ local }}
> {{ unset_issue }}
> {{ unset_section }}
> RSS Feed
> {{ /local }}
>
> The links in the RSS feed in this case are not valid:
> *******
>
> Svet na dlani – tokrat o Angoli
> *******
>
> Correct would be:
> *******
>
> Svet na dlani – tokrat o Angoli
> *******
>
> What is the cause of the appendix in every URL of news:
> ?tpl92
>
> Any idea for solution?
> Thanks
> Robert
>
> p.s.
> I also suggest that in the RSS instructions (in manual) change the record
> on the date of the RDF date and time format for RSS feed from:
>
> {{ $campsite->article->publish_date|camp_date_format:"%Y-%m-%d"
> }}T00:00:00+00:00
>
> to:
> {{
> $campsite->article->publish_date|camp_date_format:"%Y-%m-%dT%H:%i:%S+01:00"
> }}
>
> according to ISO 8601
> ********
> Year and Month and Day and Hours and Minutes plus Time Zone offset:
> CCYY-MM-DDThh:mmTZD (e.g. 1999-07-01T19:30+10:00)
> ********
>
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
Mugur Rus Wrote:
-------------------------------------------------------
> Dear Robert,
>
> The tpl parameter is needed to select the RSS
> template. Why would be an URL
> like: 3 create any problem?
>
Dear Mugur,
I'd like to have more RSS chanels, so I need more rss.tpl templates (for every section).
If I make new section for RSS and assign rss template to this section
Everything is OK. The links to the news in RSS feed are valid. http://radio.ognjisce.si/sl/radio/rss/
> Author: RobertB
> Link: http://code.campware.org/phorum/read.php?8,8175,8177#msg-8177
>
> --------------------------------------------------------------------------------
>
> Mugur Rus Wrote:
> -------------------------------------------------------
> > Dear Robert,
> >
> > The tpl parameter is needed to select the RSS
> > template. Why would be an URL
> > like: 3 create any problem?
> >
> Dear Mugur,
> I'd like to have more RSS chanels, so I need more rss.tpl templates (for
> every section).
>
> But if I load RSS feed by URI, the links to articles in the feed are not
> valid, Try:
> http://radio.ognjisce.si/sl/?tpl=1092
>
>
> If I make new section for RSS and assign rss template to this section
> Everything is OK. The links to the news in RSS feed are valid.
> http://radio.ognjisce.si/sl/radio/rss/
>
> Template is the same for both...
>
> Thanks for your help
> Robert
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>