CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 23:27:08 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 18:29:09 GMT
cache-control: max-age=2592000, public
expires: Mon, 10 Nov 2025 15:20:00 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98cf56cdc8fe8b21
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: HIT
set-cookie: __cf_bm=d.8.25h.mmdlQjnzYyq43bL9R34aJJUwdGRYUTXIuTg-1760225228-1.0.1.1-ywcFqx.R8Lt8n9LWKBUkHdqPP4.5d4hJ9bwyHWZbVjuU9s2S0hF23BBFBsV2orhNfVYzZSuYErSaRJpYbp95AQG1xX6Jcbn_zqiMZbp1wDA; path=/; expires=Sat, 11-Oct-25 23:57:08 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98d2205bc872cb77-BLR
alt-svc: h3=":443"; ma=86400
glean.py, a GRDDL implementation based on redland and xsltproc from Dan Connolly on 2004-05-28 (public-rdf-in-xhtml-tf@w3.org from May 2004)
glean.py, a GRDDL implementation based on redland and xsltproc
- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 28 May 2004 14:19:12 -0500
- To: RDF in XHTML task force <public-rdf-in-xhtml-tf@w3.org>
- Message-id: <1085771951.2321.217.camel@dirk>
""" glean.py -- GRDDL client implementation USAGE: python glean.py output.rdf output.rdf https://.../input.html python glean.py output.rdf output.rdf https://.../input input-copy to glean RDF statements as per transformations in input and write them to output.rdf. input-copy.html is an option local copy of the input document. REFERENCES: GRDDL Data Views: Getting Started, Learning More https://www.w3.org/2003/g/data-view and Gleaning Resource Descriptions from Dialects of Languages (GRDDL) https://www.w3.org/2004/01/rdxh/spec REQUIREMENTS: /usr/bin/xsltproc TODO: peeking-into-profile-docs (working; need to update reference docs) TODO: general XML support TODO: peeking-into-namespace docs TODO: better command-line arg parsing/ordering ISSUE: I'd rather use pipes than temp files, but spawn() is more secure than popen() since it allows args to be parsed individually rather than as one command string to be parsed again by a shell. LICENSE: Open Source: Share and Enjoy. GRDDL Workspace: https://www.w3.org/2003/g/ Copyright 2002-2003 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University). All Rights Reserved. This work is distributed under the W3C(R) Software License https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. """ # See change log at end __version__ = '$Id: glean.py,v 1.6 2004/05/28 19:16:25 connolly Exp $' https://www.w3.org/2003/g/glean.py More on why I wrote it separately... -- Dan Connolly, W3C https://www.w3.org/People/Connolly/
Received on Friday, 28 May 2004 15:19:45 UTC