We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7574
    • 3 Posts
    How do you add images to your RSS Feeds?
      • 2685
      • 44 Posts
      Uhm... actually as shown in wiki , I used

      <link rel="alternate" type="application/rss+xml" title="Deerwalk RSS feed" href="RSS Feed"/>

      in the head

      I’m a newbie...
      I also wonder how can one add RSS as a link, or also for a specific blog content
        • 9130
        • 171 Posts
        Quote from: baibhav at Jun 04, 2009, 01:30 AM

        « MODx Parse Error »
        MODx encountered the following error while attempting to parse the requested resource:
        « PHP Parse Error »
         
        PHP error debug
          Error: 	html_entity_decode() expects parameter 1 to be string, array given	 
          Error type/ Nr.: 	Warning - 2	 
          File: 	/home/webapps/deerwalk/releases/v4/assets/snippets/ditto/formats/rss.format.inc.php	 
          Line: 	96	 
          Line 96 source: 	return htmlspecialchars(html_entity_decode($resource['pagetitle'], ENT_QUOTES)); 	 
         
        Parser timing
          MySQL: 	0.0037 s	(8 Requests)
          PHP: 	0.0435 s	 
          Total: 	0.0472 s
        
        


        I’ve this error error when I try to open the Rss feed.xml file online directly.
        Well, this is obviously the problem, I have the same code in rss.format.inc.php and it’s working for me so there must be something different in the way things are set up.
        How exactly are you calling ditto? Can you copy that code here?
        Do you have page titles set on the pages?
          • 2685
          • 44 Posts
          The ditto snippet call I’ve used as mentioned at the first post. rolleyes
            • 9130
            • 171 Posts
            Did you try it without the chunks?
            [[Ditto? &parents=`0` &format=`rss`]]
              • 2685
              • 44 Posts
              It aint’t working yet sad
                • 5915
                • 21 Posts
                [!Ditto? &parents=`0` &format=`rss`!]
                


                Did you try it like this?