There you go:

http://pastie.textmate.org/private/yuqmhyt8yikbnc7ikzfpwg

You owe me a drink or a WWR recommendation
http://www.workingwithrails.com/recommendation/new/person/6065-matt-aimonetti;)

-Matt

On 1/15/08, mfmad <[EMAIL PROTECTED]> wrote:
>
>
> Hi Guys,
>
> Thanks for the Hpricot suggestions.  I have it loaded up and am trying
> to do the same thing, i.e. extract the "Today" (or whatever else text
> is in that place) in the following part of an HTML file:
>
> <div id="profile_stats"><p>Member Since: Tuesday, January 15 2008</
> p><p>Last Visit: Today.</p></div>
>
> I've gotten as far as loading the file with:
>
> doc = Hpricot(open("some_page.html"))
>
> but its not obvious what to do from there.  Appreciate any help
> speeding up my learning curve.
>
> Regards,
> Michael
>
>
> >
>


-- 
            --------
http://railsontherun.com

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to