We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36635
    • 41 Posts
    Ditto is using the feed URL in the link parameter in the RSS header instead of the site url or blog url and there doesn’t appear to be a way to override this using Ditto parameters. Rather than editing rss.format.inc.php, here is a workaround.

    In your feed document, add the header above the Ditto call and put in the site_url for the link field:
    <?xml version="1.0" encoding="UTF-8" ?>
    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    	<channel>
    			<title>My Blog</title>
    			<link>[(site_url)]blog.htm</link>
    			<description>[*description*]</description>
    			<language>en</language>
    			<copyright>Copyright stuff here</copyright>
    			<ttl>120</ttl>
    
    
    [!Ditto? &parents=`479` &format=`rss` &paginate=`off` &display=`20` &total=`20` &dateSource=`pub_date` &orderBy=`pub_date desc` &removeChunk=`Comments` &header=` ` !]
    


    The &header parameter with a space will keep Ditto from outputting the standard header and the one already sent will be used.

    let me know if there’s an easier way...fyi...