Looking at your code, I think I found a typo. In FeedsYouTubeParser.inc, in your $item definition in your parseAtom function, you have both the fav count and the view count set to the same value:

        'view_count' => (string) $viewCount,
        'fav_count' => (string) $viewCount,

This should be...

        'view_count' => (string) $viewCount,
        'fav_count' => (string) $favCount,

right?

Comments

wojtha’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Needs review » Fixed

Thanks, fixed in dev together with #1159316: "Serialization of 'SimpleXMLElement' is not allowed".

Commit 5076f9c on 6.x-1.x
Commit dd740b2 on 7.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.