Re: XML-based sources (Metadata Factory plugin)
- From: Michał Sawicz <michal sawicz net>
- To: grilo-list gnome org
- Subject: Re: XML-based sources (Metadata Factory plugin)
- Date: Thu, 19 Jul 2012 23:29:18 +0200
Hey!
First of all, I love the Factory idea. Even if it is complicated, it
should be easier to deal with at least remote providers.
I've one proposal, though. I believe people are more familiar with CSS
selectors [1] than they are with XPath (even though XPath is more
complete, probably) due to almost everyone having experience with some
web development.
It'd be nice if CSS selectors would be an option as well as XPath for
queries / selects. A javascript css2xpath converter is some 100 SLOC.
Didn't find nothing like that for C yet, though.
[1] http://www.w3.org/TR/css3-selectors/
[2] http://code.google.com/p/css2xpath/source/browse/trunk/src/css2xpath.js
Cheers!
--
Michał (Saviq) Sawicz <michal sawicz net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]