Profile

Cover photo
60 followers|2,659 views
AboutPostsPhotosVideos

Stream

QueryPath

Shared publicly  - 
 
Major news for QueryPath 3: A new parser is almost done. This should be an order of magnitude faster than current QueryPath 2.
1
Frank Pfabigan's profile photo
 
is there a noob documentation, howto iterate over "SaveEstate" and within over "Attachment"?
xml-document: http://wp1148443.server-he.de/sites/all/modules/ciim/test2.xml
Add a comment...

QueryPath

Shared publicly  - 
 
QueryPath is a PHP library for handling HTML and XML. It implements much of the jQuery API for traversing and manipulating the DOM. It can use both CSS3 selectors and XPath selectors.
1
Alfred Nutile's profile photo
 
Have a technical question. If this is not a good place please let me know. qp is working great to get an OpenSearch rss feed. I can parse the item area but I need this set of data as well.
<opensearch:totalResults>116285</opensearch:totalResults>
<opensearch:startIndex>0</opensearch:startIndex>
<opensearch:itemsPerPage>10</opensearch:itemsPerPage>
<nutch:query>test</nutch:query>
<nutch:nextPage>http://www.search2.net/2010/opensearch?query=test&amp;start=10&amp;hitsPerDup=2&amp;hitsPerPage=10</nutch:nextPage>

To figure out how many results, what page to go to next etc.
How would I parse this?
I pasted the output of the XML to pastebin as well http://pastebin.com/VLTxeH4j
It just goes up to the item area.
This is what I get it if I query the URL with
drupal_http_request
Thanks
Add a comment...
Have them in circles
60 people

QueryPath

Shared publicly  - 
 
Based on community feedback, the Drupal QueryPath module will not likely contain the core QueryPath library anymore. Instead, users will likely have to use the Libraries API module in Drupal to download and install QueryPath separately.

Does this sound like a good idea or a bad idea?
1
Sidharth Kshatriya's profile photoJohn Fiala's profile photo
2 comments
 
Having the querypath library pre-packaged with the drupal module eases the entry path for querypath adoption just a wee bit... you can be up and running. For power users maybe you should provide the ability to swap out current version with an older / bleeding edge version..
Add a comment...
People
Have them in circles
60 people
Story
Tagline
PHP HTML/XML tool like jQuery