prism: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(New page: [http://github.com/mwunsch/prism Prism] is a Ruby microformat parser and HTML toolkit.)
 
(rm hardcoded IRC server in prose)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://github.com/mwunsch/prism Prism] is a Ruby microformat parser and HTML toolkit.
[http://github.com/mwunsch/prism Prism] is a microformats [[parser]], library, and command line tool for the Ruby
programming language.
 
http://github.com/mwunsch/prism
 
== summary ==
Prism is a Microformat parser and "html toolkit" backed by the powerful Nokogiri libxml2 parser (http://nokogiri.org). It defines a
DSL (a domain-specific language) for parsing POSH formats, and comes included with support for several Microformats. Right now (v0.1.0) it supports:
 
== supported microformats ==
* [[rel-tag]]
* [[rel-license]]
* [[VoteLinks]]
* [[XFN]]
* [[XOXO]]
* [[XMDP]]
* [[geo]]
* [[adr]]
* [[hCard]]
 
== installation ==
To get started, just make sure you have Ruby installed on your system
and run `gem install prism` (you might need `sudo`).
 
== command line tool ==
Using the command line tool
 
<source lang="bash">
prism --hcard http://markwunsch.com > ~/Desktop/mark.vcf
</source>
 
Go ahead and try that: you can add me to your address book. Prism's CLI (command line interface) allows you to convert hcards to vcards (more coming soon, of course).
 
=== documentation ===
Type `prism` to see a general help page. Man pages are in the works.
 
== feedback and issues ==
I urge you all to check out Prism, run it and see if it parses to your expectations. If not, please open an issue on GitHub
(http://github.com/mwunsch/prism/issues).
 
== future plans ==
Priorities for the next release include:
* smarter handling of [[ISO8601]], [[Geo]], and E.123
* passing all of the [[value-class-pattern-tests|Value Class pattern tests]].  
* Following that, I plan on focusing on getting
** [[hCalendar]] and
** [[hAtom]] support in.
 
Thanks for checking it out and I encourage contribution!
 
Thanks,
-Mark Wunsch
@markwunsch on Twitter
http://github.com/mwunsch
mwunsch on [[irc]]
 
== see also ==
* 2010-03-02 [http://microformats.org/discuss/mail/microformats-discuss/2010-March/013193.html uf-discuss: Introducing Prism: Microformat Parser and Library for Ruby]

Latest revision as of 19:08, 23 October 2024

Prism is a microformats parser, library, and command line tool for the Ruby programming language.

http://github.com/mwunsch/prism

summary

Prism is a Microformat parser and "html toolkit" backed by the powerful Nokogiri libxml2 parser (http://nokogiri.org). It defines a DSL (a domain-specific language) for parsing POSH formats, and comes included with support for several Microformats. Right now (v0.1.0) it supports:

supported microformats

installation

To get started, just make sure you have Ruby installed on your system and run `gem install prism` (you might need `sudo`).

command line tool

Using the command line tool

prism --hcard http://markwunsch.com > ~/Desktop/mark.vcf

Go ahead and try that: you can add me to your address book. Prism's CLI (command line interface) allows you to convert hcards to vcards (more coming soon, of course).

documentation

Type `prism` to see a general help page. Man pages are in the works.

feedback and issues

I urge you all to check out Prism, run it and see if it parses to your expectations. If not, please open an issue on GitHub (http://github.com/mwunsch/prism/issues).

future plans

Priorities for the next release include:

Thanks for checking it out and I encourage contribution!

Thanks, -Mark Wunsch @markwunsch on Twitter http://github.com/mwunsch mwunsch on irc

see also