[PEPr] Comment on Semantic Web::XML_GRDDL
| From: | Daniel O'Connor | Date: | Sun, 02 Mar 2008 14:42:24 +0000 |
| Subject: | [PEPr] Comment on Semantic Web::XML_GRDDL | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49223@lists.php.net to get a copy of this message | ||
Daniel O'Connor (http://pear.php.net/user/doconnor) has commented on the proposal for Semantic
Web::XML_GRDDL.
Comment:
> I also found this pretty comprehensive example on your wiki:
<http://code.google.com/p/xmlgrddl/wiki/UsageExample>
That's new and will be applicable for the next version :P
> I see hcal, hcard, etc. - can you list all (currently) supported
microformats?
Yes and no. If you add a profile attribute to the <head> of your document,
then XML_GRDDL can and will try to extract them.
Future plans may include fuzzily detecting microformats and pretending
like the page author *did* include the correct profile links.
See http://www.ibm.com/developerworks/xml/library/x-tipproflink.html
> Did you implement a driver-based architecture to meet the different
demands of how people want to query for microformats? (Sorry, but) I
couldn't really figure this out.
There's two options out there in the free-ish XSL processing world.
One is what PHP has, libxsl based (XSLT 1.0).
The other is saxon, which supports XSLT 2.0
It's also conceivable that you may wish to plug in a remote, web based
XSLT service
> Last but not least - (pure curiousity) is GRDDL always about RDF, or can
we "expect" other response formats also. Or what do you suggest to use?
RDF/XML is the recommendation of the GRDDL spec, and at the moment, the
initial goals of this package.
There are plenty of other possible ways you can serialize the structured
information.
If someone wrote an transformation for 'hcard to json' and it was
widespread, then it's quite possible you could write a simple driver to
handle that.
The main tasks of this package are:
- fetch me a document
- find transformation listed in the GRDDL fashion
- fetch those transformations for me
- apply them
- merge the resulting documents
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=533
--
Sent by PEPr, the automatic proposal system at http://pear.php.net