What was needed ?
• Finding videos, photos, restaurants, ... on
third party webservices
• Youtube
• Flickr
• Wikipedia
• Resto.be
• ....
What was developed ?
• “Framework”
• Define a service and its parameters
• Define how to query a service for a
“keyword” (one request only!)
• Multiple “candidates” per node.
Example : Wikipedia
Defining service
Defining request
Walkthrough
Run parameters
Service without options
Service with options
Blacklisting candidates
Per content type
settings
Candidates
Results found
How flexible is this ?
Media service (1)
Problem:
Gathering more info on nodes from RSS
feeds.
Newspapers, magazines, blogs, ...
Media service (2)
• Solution
• Second site(uhm... drupal)
• feed_aggregator (contributed module!!!)
• service_attachments
• OpenSearch Feed (contributed module!!!)
• hook_service_attachments
Related nodes
• Find relations between nodes
• Define a service that does a query via
drupal search
• So it’s not limited to remote services
0 comments
Post a comment