Anyone?

On May 4, 4:16 pm, kjetilda <[email protected]> wrote:
> Can anyone help me out regarding fetching xml data from a source and
> then parsing it into a form?
> I'm not sure on how to proceed. I looked it up and found a relevant
> thread:http://groups.google.com/group/hobousers/browse_thread/thread/98bb06b....
> But i honestly have no idea on where to start or what I need.
>
> I have an Advert Model (which is for books only)
>
> fields do
>    isbn        :string
>    title       :string, :required
>    author      :string, :required
>    edition     :string
>    condition   enum_string(:As new, :Good, :OK, :Bad)
>    price :string
>    timestamps
>  end
>
> My question is about the same as the user who started the above
> thread:
>
> I want to allow the user to click on the "New Advert" link in the
> Adverts
> index page, enter the isbn, then press a button or click a link to do
> a lookup to a restful API service like isbndb.com to get the rest of
> the data about the book like author, publisher and
> populate those fields on the New Advert page, and allow the user to
> review the data before clicking the Save Advert or Cancel button.
>
> "I want to make this a separate action tied to a button or link as
> opposed to an ajax action triggered by tabbing out of the isbn field,
> because I do not want this to be done automatically when editing an
> existing book. "
>
> Can anybody help me out? Any help would be very much appreciated.
> Also, would gladly donate a somewhat amount for a complete walkthrough.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/hobousers?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to