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

aaron’s picture

we 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.

teamrob’s picture

OK 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.

aaron’s picture

Status: Active » Closed (fixed)