XQuery document function
XQ-S-4 OPML file generation from XHTML source
document usage example
Example
The demo retrieve a HTML pages containing attendees or bloggers listings and convert them to OPML. The conversion is done with XQuery and user-defined XPath functions to resolve the feeds URLs.
The demo also retrieve few OPML files and re-construct them having the feeds URLs if they are missing.
When setting the initial state, the demo starts to retrieve pages from the different sites. It could take a long time depending on the Internet connection of the machine that Virtuoso is running on. It is safe to leave the pop-up open without waiting it to finish and press on the "Run" links, however if this is the first time you run the initial state, the demo will show only partial results. Once the feeds are resolved they will be cached locally in a database table and the generated OPML files will be stored as a WebDAV resources.
The following are source references used in the demo:
- http://wiki.techcrunch.com/third_meetup
- http://news.com.com/html/ne/blogs/CNETNewsBlog100.opml
- http://conferences.oreillynet.com/pub/w/23/speakers.html
- http://conferences.oreillynet.com/pub/w/38/speakers.html
- http://www.alwayson-network.com/comments.php?id=10852_0_11_0_C
- http://www.gnomedex.com/holdings/br_2005%20Gnomedexers.opml
- http://www.web2con.com/pub/w/40/speakers.html
- http://www.thenewpr.com/wiki/pmwiki.php?pagename=Resources.CEOBlogsList
- http://nwr.cowblock.net/index.php?action=list
- http://okrasoup.typepad.com/black_looks/2005/05/naija_blogs.html
- http://allafrica.com/afdb/blogs/blogafrica.opml
| View the source | Action |
|---|---|
| 1. o100.sql | Set the initial state |
| 2. african_blogs.vsp | Run |
| 3. atom.vsp | |
| 4. atom2sioc.xsl | |
| 5. blog100.vsp | Run |
| 6. blogafrica.vsp | Run |
| 7. ceo.vsp | Run |
| 8. common.vsp | |
| 9. foaf.vsp | Run |
| 10. foafmap.vsp | |
| 11. gnomedexers.vsp | Run |
| 12. mapufacture.vsp | |
| 13. nigerian_bloggers.vsp | Run |
| 14. o100.vsp | Run |
| 15. osc2003.vsp | Run |
| 16. osc2005.vsp | Run |
| 17. planetrdf.vsp | |
| 18. rdf2atom.xsl | |
| 19. rss2atom.xsl | |
| 20. sem_blogs.vsp | |
| 21. sioc.vsp | |
| 22. status.vsp | Run |
| 23. techcrunch.vsp | Run |
| 24. technologyvoices.vsp | |
| 25. technorati_fav.vsp | |
| 26. technorati_pop.vsp | |
| 27. vloggercon.vsp | |
| 28. web2005.vsp | Run |
| 29. xq_s_4.xsl | |
| 30. xq_s_4svc.xsl |
OpenLink Home
Technical Support