Active
Project:
Calais Interface
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2008 at 14:00 UTC
Updated:
16 Apr 2008 at 15:41 UTC
calais_get_rdf() takes a node as parameter, there is no other function in calais module that takes content and returns calais' return values.
I am looking for a more generic API function. What about a basic
calais_get_rdf($content);
// the strucuture of $content depends on what the calais API accepts.
// e. g. if it accepts title, body, author, the $content variable should be an array that can hold title, body and or author.
and a node specific
calais_get_rdf_node($node);
Comments
Comment #1
jscheel commentedI'm going to go ahead and commit some of the code I've been working on. In there you will see _calais_get_rdf() which is a much more generic function.