You cannot post messages because only members can post, and you are not currently a member.
|
first-of-type
|
| |
I think I found a bug.
I'm reading in the source code from this site (it's the print page
because the article is all on one page - just hit cancel):
[link]
I am trying to remove the first H3. However, when I do this:
doc.search("h3:first-of-type") .remove
...it finds and removes the first two H3's.... more »
|
|
How to get file extensions in webpage using hpricot?
|
| |
I am working on an application where I have to
1) get all the links of website
2) and then get the list of all the files and file extensions in each
of the web page/link.
I am done with the first part of it :)
now I have to get the all the files/file-extensions in each of the
page.
Can anybody guide me how to parse the links/webpage and get the file-... more »
|
|
How to get file extensions in webpage using nokogiri?
|
| |
I am working on an application where I have to
1) get all the links of website
2) and then get the list of all the files and file extensions in each
of the web page/link.
I am done with the first part of it :)
now I have to get the all the files/file-extensions in each of the
page.
Can anybody guide me how to parse the links/webpage and get the file-... more »
|
|
RSS parsing
|
| |
I am trying to use Hpricot XML feature to parse an RSS feed.
I would like to modify an existing RSS and insert a new element called
"<media:thumb url=... />" inside every item. The item contains other
elements as well.
There is an insert_after method but it seems to be adding the element
at the end of the document.... more »
|
|
|