Closed (fixed)
Project:
Video CCK
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 20:12 UTC
Updated:
15 Jun 2007 at 20:44 UTC
Would it be more worth it since this is using cck to support xml parsing for extracting data instead of api calls. Most of the video services provide feeds that can be parsed for info ( comments, username, thumbnails, rating, etc).
This would allow for more customization by users of your module to add many types of data specific to thier needs
Scalability for new features that get introduced by youtube, google, etc
No need for api keys
Data csn be incorporated into other modules easier since its just xml not some custom api call
Several sites do not even have api's yet they do support feeds
Anyhow what do ya think?
Comments
Comment #1
aaron commentedwe do that when possible. however, some providers (such as youtube) require an api key to fetch a thumbnail. when flip.tv is integrated, they use an xml instead.
each provider has its own include file with hooks called by the module for easy integration. takes me about 20 minutes to add a normal provider. when i have time... ;)
also should be relatively easy for someone to customize them as well. when an api call is required, there's a wrapper hook for that as well.
Comment #2
teamrob commentedOK cool, I looked around and it seems like google doesnt even have any api, ill check out the other popular services, but youtube and google seem to be the big 2.
Comment #3
aaron commented