Closed Thread
Results 1 to 2 of 2

Thread: XML Parser

  1. #1
    John_L is offline Newbie
    Join Date
    May 2008
    Posts
    10
    Rep Power
    0

    XML Parser

    Implement a Perl script that takes an XML file (from standard input) containing RSS news feed information and prints (to standard output) an HTML file containing the title (as a link) and description of each item (including the channel itself).
    Notes

    1. You cannot use any XML parsing libraries/packages/classes to implement your solution. You have to process the file yourself. There is no need to work with DOM objects yet.
    2. You must support all 3 RSS standards (0.91, 1.0 and 2.0).
    3. Some RSS feeds include content items (in addition to descriptions). If the content is present you may use it instead of the description text. Again, make sure you test this scenario...
    4. If an enclosure (usually referred to as a podcast) is found include a link to it.
    6. In order to include angle brackets (< and >) and ampersands (&) within the XML file they will be encoded as "<", ">", and "&". Make sure you convert these so they appear correctly in the HTML file.
    These were my instructions, can anyone help me get started. Since I can't user modules I have no idea where to even begin. Apparently the solution shouldn't be too long either, but I assumed it would be ridiculously long without modules or packages etc..Thanks in advance

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    KevinADC is offline Programmer
    Join Date
    Jan 2007
    Posts
    125
    Rep Power
    0

    Re: XML Parser

    If you get stuck in a very specific part of your existing program then you would probably get some help, but just posting your program requirments will only make people ignore you, especially since it appears to be school/course work.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help with php dom parser
    By thatsme in forum PHP Development
    Replies: 1
    Last Post: 07-18-2011, 05:00 AM
  2. Irc Parser
    By Warrior in forum Member Software/Projects
    Replies: 2
    Last Post: 07-07-2010, 10:27 AM
  3. LL(1) Parser Table
    By SPorg in forum General Programming
    Replies: 0
    Last Post: 06-14-2010, 10:05 PM
  4. help with cfg parser!
    By ASDF_guy in forum The Lounge
    Replies: 1
    Last Post: 05-08-2009, 09:06 AM
  5. Help in SLR parser
    By vithasekar in forum C and C++
    Replies: 3
    Last Post: 02-14-2007, 11:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

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