WordPress.org

Ready to get started?Download WordPress

Forums

Blogger Importer
[resolved] Coments parser not capturing URI (1 post)

  1. Workshopshed
    Member
    Plugin Author

    Posted 3 years ago #

    My next issue with the blogger importer 0.3 on PHP 5.3 is the parsing of the comments author.

    I'm not sure what the following line is trying to achieve but the nested brackets don't look right.

    preg_match('#<name>(.+?)</name>.*(?:\<uri>(.+?)</uri>)?#', $entry->author, $matches);

    I've changed it to the following to get it to capture the URI's correctly

    preg_match('#<name>(.+?)</name>.*<uri>(.+?)</uri>#', $entry->author, $matches);

    http://wordpress.org/extend/plugins/blogger-importer/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic