We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17282
    • 283 Posts
    cant make head nor tail on how i do an rss feed from my site ! ( so that users can click it and have it load in there news readers!

    anyone help ?

    i need an idiots guide....

    Ta
      Everytime you use Flash ... a puppy dies .....
      R.G Taylor
      • 15987
      • 786 Posts
      You can use the newslisting snippet to create your rss feed.

      So create a new document with a blank template and set the content type to text/xml

      Here is an example call for the content of the page:

      [!NewsListing?format=`rss` &startID=`18` &summarize=`5` &truncSplit=`false` &levelLimit=`1`!]


      The startID is the folder contaiing the documents you want to show in the rss.
      Summarize is the number of items to include in the rss.
      levelLimit tells the snippet to only look inside the startid folder and not go into any subfolders.
      truncSplit will summarize a post

      Then in the head section of your template include the following:

      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="[(site_url)][~29~]" />


      this will show the rss link in the address bar in firefox and other supported browsers.

      You can also add a link on you page like the following:

      <a href="[~29~]">RSS</a>


      Hope that helps.

      Kyle
        • 16915
        • 52 Posts
        Noob as well here.
        When i try this, i get the following error :

        This XML file does not appear to have any style information associated with it. The document tree is shown below.
        <p>No entries found.</p>
          http://www.la-rencontre.info"" target="_blank" rel="nofollow">Rencontre Musulmane

          http://www.picsof.asia"" target="_blank" rel="nofollow">Picture Asia
          • 7923
          • 4,213 Posts
          Quote from: lemerou at Aug 09, 2006, 11:01 AM

          This XML file does not appear to have any style information associated with it. The document tree is shown below.
          This is not an error, it’s normal behaviour when viewing XML without style information.

          Quote from: lemerou at Aug 09, 2006, 11:01 AM

          <p>No entries found.</p>
          This also is not an error. You define the folder where rss items are retrieved in &startID parameter at ditto call. The folder you have defined simply doesn’t have any documents.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 15987
            • 786 Posts
            lemerou

            you will want to use the ditto snippet for this now and not newslisting. Ditto is the replacement for newslisting and has many more features and better functionality.
              • 16915
              • 52 Posts
              Thanks both for your answers.
              I will switch to ditto right away.
                http://www.la-rencontre.info"" target="_blank" rel="nofollow">Rencontre Musulmane

                http://www.picsof.asia"" target="_blank" rel="nofollow">Picture Asia