Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Using an RSS feed to partly fill out a website form

    Hi,
    I want to create a web form that pulls in part of it's data from the information in an XML RSS feed.

    Ideally the RSS feed would be displayed in a readable list and each entry selectable. When the RSS entry is selected it will bring in the XML data and automatically enter in into the various fields on a form. The form would also have other fields that would be unrelated to the RSS feed.

    Is that achievable by modifying and adjusting scripts that exist? Does anyone know of a way to do this?

    Any advice would be appreciated.
    Thanks,
    Tom
    Last edited by fonze1983; 08-31-2012 at 10:27 AM.

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,539
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    It can be done easily with PHP.

    Show me a link to the RSS feed (XML file),
    and then show me a form where data needs to go,
    and what data goes where.

  • #3
    New Coder
    Join Date
    Apr 2010
    Posts
    55
    Thanks
    0
    Thanked 4 Times in 4 Posts
    It isn't hard. You can use either Ajax - send the selected feed data to the server, get the server to parse it and send the data to be filled into the fields. use javascript to fill in the data.

    or this can be done totally on client side as well. Use some javascript based RSS parser if you want to do it on client side.
    Hosting Reviews and Discounts: Bluehost Coupon and Hostmonster Coupon


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •