WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Live bookmarks (RSS) (8 posts)

  1. baudesign
    Member
    Posted 9 years ago #

    Hi everyone,

    Well, I have tried many things. I have read this thread:
    http://wordpress.org/support/topic.php?id=24029#post-136807

    Looked in Google. Nothing.

    Live bookmarks won't work on my website, with Firefox. All I get is this error message: "Live Bookmark feed failed to load".

    I have no idea why. I thought for a moment that it might have something to do with my French localization (how silly!), and configured my "wp-config.php" file back to default. Nope.

    Any idea?

    Thanks

    My Website: http://nirvanaaudio.ca/journal/

    +++++++++++++++++++++
    // keywords for index purposes

    feed rss bookmarks French Firefox Atom Subscribe

  2. absm
    Member
    Posted 9 years ago #

    Salut

    Try to validate your feed at http://feedvalidator.org and check for errors.

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.nirvanaaudio.ca%2Fjournal%2Findex.php%2Ffeed%2F

    É (with accent) is not compliant with UTF-8

  3. baudesign
    Member
    Posted 9 years ago #

    > absm

    Yea! The problem seems to originate from the word "protégé", the translation for "protected" when I protect a post with a password. I am trying to find this word to change it for é. But where is that word.

    ...and why doesn't it validate with the feed validator?

  4. absm
    Member
    Posted 9 years ago #

    You're probably using the french localization file, so I don't know about it 'cause I' haven't used yet.

    But here is a trick you could do if your web server has the appropriate php configuration set:

    replace
    the_title_rss();

    by

    mb_convert_encoding(the_title_rss(), "UTF-8");

    in your different feed files wp-rss2.php, wp-rss.php and wp-atom.php

    more info about the mb_convert_encoding function: http://fr2.php.net/manual/fr/function.mb-convert-encoding.php

  5. baudesign
    Member
    Posted 9 years ago #

    Malheureusement... non. Rien ne fonctionne. :-( Thanks for the help. I will keep on testing and trying.

    Now, if anyone could tell me where this "protected" word is hiding within all those php files, it would be appreciated. The one that says that the post is being "protected" by a password.

  6. absm
    Member
    Posted 9 years ago #

    It's in the fr_FR.mo translation file.
    But I don't think you can edit this file easyly.

    But you can find the call to this word and its translation in the file wp-includes/template-functions-post.php

    it's in the definition of the function get_the_title

    here -> $title = sprintf(__('Protected: %s'), $title)

    Change Protected by Protégé (with the utf-8 codes for accents)

    And note somewhere that you've made a modification in this file, because it could be overwritten the day you'll make an upgrade of WP.

  7. baudesign
    Member
    Posted 9 years ago #

    > Merci absm

    Yea, I found the .po/.mo file, and I edited it with PoEdit. I wrote down protégé and not < code >prot& # 2 3 3 ;g & # 2 3 3;</ code > [the spaces are there to show the code 'cause bbPress was converting!] because it did not show correctly in the Firefox bar.

    I followed the suggestion found in this post:
    http://wordpress.org/support/topic.php?id=24029#post-136815

    At least now, the bookmarks are showing. But for some reason, now that WordPress converts our titles, my apostrophes apprear like in the bookmarks. Grrr... 1 step closer though.

  8. Xavier Borderie
    Member
    Posted 9 years ago #

    I'm in the process of fully revamping the PO file in order to get rid of such special characters and change them to HTML entities... Please bear with my lack of time :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.