Jahia Template Forum > Display headlines...

0 (0 Good)
0 (0 Bad)

Display headlines from inbound RSS feeds.

by  peters »  2011/06/07 20:00

Hi All

I have to fetch headlines from rss feeds.
to achieve the same i have made rss container which has url field ,in which user enter the url of rss ,which is an xml . I am parsing the xml and displaying the title and link.
that is working fine.

[b:1ofce7oc]BUT[/b:1ofce7oc] there is one more requirement in that

[b:1ofce7oc]Everytime a page is rendered with this component on the page, the component will be updated with the latest information.[/b:1ofce7oc]

the code i am using to get the title and link is as follows.

[code:1ofce7oc]lt;template
  • Display headlines from inbound RSS feeds.
    2011/06/07 20:00

    peters Hi All<br/><br/>I have to fetch headlines from rss feeds.<br/>to achieve the same i have made rss container which has url field ,in which user enter the url of rss ,which is an xml . I am parsing the xml and displaying the title and link.<br/>that is working fine.<br/><br/>[b:1ofce7oc]BUT[/b:1ofce7oc] there is one more requirement in that<br/><br/>[b:1ofce7oc]Everytime a page is rendered with this component on the page, the component will be updated with the latest information.[/b:1ofce7oc]<br/><br/>the code i am using to get the title and link is as follows.<br/><br/>[code:1ofce7oc]lt;template

  • Number of messages  35
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Display headlines from inbound RSS feeds.

    by  pap@commaro.com »  2011/06/07 20:00

    Hi,

    the problem is that everything within the body of lt;template:container

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Display headlines from inbound RSS feeds.

    by  peters »  2011/06/07 20:00

    i am giving the url of RSS feed.It is implemented in same as it is implemented in default ACME site,only difference is that i am using my own container wherever there it is implemented in BOX.
  • Re: Display headlines from inbound RSS feeds.
    2011/06/07 20:00

    peters i am giving the url of RSS feed.It is implemented in same as it is implemented in default ACME site,only difference is that i am using my own container wherever there it is implemented in BOX.

  • Number of messages  35
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page