We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30481
    • 33 Posts
    HI all,

    I tried to make a rss feed on DItto with Ditto call with &trunc = 0.
    So all post content is in my feed. Well. Not really. In one of my post i have some <embed> bloc (youtube or similar embed) and they does not appear in my rss feed...
    Why ?
    It is a limitation specific to Ditto ?
    Maybe i could try another snippet to make my rss feed ?

    One other question, I made two documents for my blog. Then I create my rss document. At this step any document appear in my rss feed. On the web page where ditto is showing the post, i can see the two documents. I add a third document in my blog. Only this last one appear in my rss feed... Why the two first one are not present in the feed ?
    EDIT: This problems occurs only on FIrefox rss reader.... not on netvibes or other...

    And thank you guys, your work is great !

    Totor.
      -------------------------------
      www.fabienletort.com
      • 18397
      • 3,250 Posts
      Can you copy and paste your RSS feed into code tags? If trunc is off, Ditto uses the entire content field with no changes in the RSS feed. But, you must make sure that all of your links are absolute (ie: yoursite.com/page/file.swf).

      Can you post a screencap of your document tree fully expanded and the two Ditto calls? Thanks.
        • 30481
        • 33 Posts
        Yep,

        sorry for my late reply, but i made somme search to understand the problem. It’s not come from Ditto (maybe a little ?).

        The thing is that my rss feed is not show in the same manner in all rss reader. I made my test with Netvibes, and Firefox.
        WIth netvibes i have any problem.... I can see all my embedded video from youtube or other embeded bloc. (yes, i have one problem with the embed player from radioblog, but the problem is from netvibes i think....becaus it is the case in other rss feed from other website)

        But in Firefox, i have a lots of problems.
        First the title with the special html caracters &.... (yes i am french and so i use many é è ...). Firefox don’t like that, and show nothing for you feeds if there are some specific caracters. This problem was already seen here : http://modxcms.com/forums/index.php/topic,4651.0.html.
        So i look to other rss french feed, i saw that the é and è are like that in title tag, they never used the html entities &.... . So I made the hack indicated in my link upper (remove htmlentities for the page title).
        The other problems is that Firefox don’t show the embed block, so we can’t see youtube video and other thing like that. So some post are very strange in Firefox.... (you can say: "look to this video:", and after in firefox, they are nothing). In netvibes, there no problems. So I look again to other rss that put also this kind of embed tag in their feed. And for example a dotclear feed for a blog show all post content in Netvibes (with the video smiley ) (for us it is the equivalent of the call with trunc=0), but show only a description in Firefox (for us trunc=1 here) and so don’t have problem with the embed block that are not show.
        So how dotclear made that ? In the <description> tag of the rss feed, it puts the post description (trunc=1), and puts the page content in the tag <content:encoded>. With that, the rss feeds is different in netvibes or firefox, but can be understanding in the two reader..... Now I have to check how other rss reader manage that ! (here an example http://www.presse-citron.net/dotclear/rss.php).
        I think that i will make a hack to make the same thing in Ditto. I thing like: always write description in <description> and if trunc=0 also add the feed content in the <content:encoded>. What do you think of that ? If someone can test theses kinds of problem with theri favorite rss reader ?

        PS: Sorry for my english, i’m french and son i have problems with the é and è .... laugh

        EDIT: in fact the difference between description and content is very well explain here : http://developer.mozilla.org/en/docs/RSS:Article:Why_RSS_Content_Module_is_Popular_-_Including_HTML_Contents
        The rss feel is here a rdf xml feel. Like the example of dotclear blog upper. Rdf feel seems better no ? (more option and more used in the blog world)


        Totor.
        www.totor.fr
          -------------------------------
          www.fabienletort.com
          • 30481
          • 33 Posts
          The actual ditto rss feed is not valid for feedburner.... Maybe because they are CDATA in description. It is not allowed !!!
            -------------------------------
            www.fabienletort.com