rdfa_parser => rdf-rdfa

7 views
Skip to first unread message

Gregg Kellogg

unread,
Jun 12, 2010, 11:06:47 AM6/12/10
to RDFObjects
I notice that you depend on rdfa_parser, a Gem I no longer really
support. You also use RDF.rb, so you might consider changing
rdfa_parser to rdf-rdfa, which is now built on RDF.rb. Also, rdf-
rdfxml is a Nokogiri based RDF/XML Reader & Writer.

Ross Singer

unread,
Jun 15, 2010, 4:48:55 AM6/15/10
to rdfob...@googlegroups.com
Hi Gregg,

Thanks for the note. Even unsupported, rdfa_parser is considerably
better than RDFObjects' previous way of parsing RDFa (which used
Nokogiri and XSLT and generally failed as often as it worked), so for
the time being, it's still a net positive.

That being said...

I have been working on migrating RDFObjects to possibly use RDF.rb
under the covers so when that happens, it seems a natural time to use
your parsers (since I would *love* to get out of the business of
supporting parsers, educational though it may be). In fact,
RDFObjects already uses RDF::Literal (since my Literal implementation
was about as rock-solid as my RDFa parser was), so rdf is already a
dependency. The slippery slope is there.

This migration is dependent on two things:

1) RDF.rb 0.2.0 - RDFObjects would require heavy use of RDF::Graph
which is currently too slow to justify moving to
2) Free time to finish up the migration

Number 2 is actually not as fantastical as it might seem, but it's
definitely not terribly predictable.

Anyway, thanks for the heads up and

Ross Singer

unread,
Jun 15, 2010, 4:51:01 AM6/15/10
to rdfob...@googlegroups.com
Whoops, hit send too soon.


> Anyway, thanks for the heads up and

...I'll see if I can easily integrate the parsers first even if
RDFObjects doesn't actually migrate to RDF.rb until later (if ever).

Thanks!
-Ross.

Arto Bendiken

unread,
Jun 17, 2010, 4:51:03 PM6/17/10
to rdfob...@googlegroups.com
Hi Ross,

On Tue, Jun 15, 2010 at 10:48 AM, Ross Singer <rossf...@gmail.com> wrote:
> Hi Gregg,
>
> Thanks for the note.  Even unsupported, rdfa_parser is considerably
> better than RDFObjects' previous way of parsing RDFa (which used
> Nokogiri and XSLT and generally failed as often as it worked), so for
> the time being, it's still a net positive.
>
> That being said...
>
> I have been working on migrating RDFObjects to possibly use RDF.rb
> under the covers so when that happens, it seems a natural time to use
> your parsers (since I would *love* to get out of the business of
> supporting parsers, educational though it may be).  In fact,
> RDFObjects already uses RDF::Literal (since my Literal implementation
> was about as rock-solid as my RDFa parser was), so rdf is already a
> dependency.  The slippery slope is there.
>
> This migration is dependent on two things:
>
> 1) RDF.rb 0.2.0 - RDFObjects would require heavy use of RDF::Graph
> which is currently too slow to justify moving to

It took a little longer than anticipated due to a dearth of available
time (I've been tied up in paid work for the last several weeks), but
RDF.rb 0.2.0 is now released and includes the performance improvements
we discussed previously. Find a summary of the changes at:

<http://lists.w3.org/Archives/Public/public-rdf-ruby/2010Jun/0021.html>

--
Arto Bendiken | @bendiken

Reply all
Reply to author
Forward
0 new messages