RDFLib / pyrdfa3

RDFa 1.1 distiller/parser library: can extract RDFa 1.1 (and RDFa 1.0, if properly set via a @version attribute) from (X)HTML, SVG, or XML in general. The module can be used to produce serialized versions of the extracted graph, or simply an RDFLib Graph.
http://www.w3.org/2012/pyRdfa/
Other
67 stars 22 forks source link

Some cleaning and print the help when needed #2

Closed pypingou closed 12 years ago

pypingou commented 12 years ago

Hi,

I had a small bug with my git and I closed the previous request unwillingly, so here it is again.

Thanks, Pierre

pypingou commented 12 years ago

It's all rebased against the current master (to make merging easier)

iherman commented 12 years ago

I have pulled this, though I have not taken all your changes for myself (the change in the path for the library was clearly adapted to your environment, for example) and have done some minor, additional changes. I have pushed back all into the master repository now.

Thanks

Ivan On Jun 4, 2012, at 10:25 , Pierre-Yves Chibon wrote:

Hi,

I had a small bug with my git and I closed the previous request unwillingly, so here it is again.

Thanks, Pierre

You can merge this Pull Request by running:

git pull https://github.com/pypingou/pyrdfa3 dev

Or you can view, comment on it, or merge it online at:

https://github.com/RDFLib/pyrdfa3/pull/2

-- Commit Summary --

  • Print the usage if no arguments are specified
  • Add a .gitignore file
  • Add information that the file is in utf-8
  • Trailing spaces/tabs and little bit of formating
  • Some cleaning

-- File Changes --

A .gitignore (1) M pyRdfa/init.py (4) M scripts/CGI_RDFa.py (4) M scripts/localRDFa.py (66)

-- Patch Links --

https://github.com/RDFLib/pyrdfa3/pull/2.patch https://github.com/RDFLib/pyrdfa3/pull/2.diff


Reply to this email directly or view it on GitHub: https://github.com/RDFLib/pyrdfa3/pull/2


Ivan Herman Bankrashof 108 1183NW Amstelveen The Netherlands http://www.ivan-herman.net

pypingou commented 12 years ago

The change from sys.path.insert(0,"/Users/ivan/W3C/dev/2004/PythonLib-IH/rdfa-1.1") to sys.path.insert(0, '..') was so that the script would work out of the box from a clone of the repository

Anyway, thanks for taking my changes in consideration. Pierre

PS: next time feel free to ask me to rebase against master to keep the history clean!