Support » Plugin: Blogger Importer » [Plugin: Blogger Importer] Coments parser not capturing URI

  • ResolvedPlugin Author Workshopshed

    (@workshopshed)


    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/

  • The topic ‘[Plugin: Blogger Importer] Coments parser not capturing URI’ is closed to new replies.