Closed (fixed)
Project:
Feeds: YouTube Parser
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2011 at 18:12 UTC
Updated:
17 Jun 2011 at 00:13 UTC
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
Comment #1
wojtha commentedThanks, 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