Results 1 to 8 of 8

Thread: reading from XML?

  1. #1
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts

    reading from XML?

    Ive just submitted our first podcast to a few sites, and some checked the XML validity before indexing it.

    I was wondering, how they do that, it would save me a lot of time setting up our podcast page to do just that.

    I.e:

    read the title
    read the tracklist
    read the 'air' date

    would be hella handy, any ideas?

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    do you want some kind of XML validator tool, or source code in some specific language?

    validating XML is fairly simple, since it's so strict on what is & isn't allowed - just implement all the rules, and you're done.

  3. #3
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    easy for some eh

    Not necessarily validation, but outputting whats in certain <>'s would be nice.

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    oh right, you basically want an xml parser. what language are you working with?

  5. #5
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    If you just want to create a web page from the XML, you could use XSLT.

    http://www.w3schools.com/xsl/default.asp

    It works on IE6 and Firefox, and, as far as I can tell, IE5.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  6. #6
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    What do you want this done in? In the mean time i'd suggest you read up on how XML works (dtd's/XML schema, data, attributes and nodes).
    To err is human. To really foul things up ... you need a computer.

  7. #7
    Squeeler Vini's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield
    Posts
    1,769
    Thanks
    44
    Thanked
    8 times in 8 posts
    php would be nice.

  8. #8
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Quote Originally Posted by Vini
    php would be nice.
    http://www.php.net/xml ?
    http://www.zend.com/zend/art/parsing.php ?
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. What books are people reading?
    By grand_witch in forum General Discussion
    Replies: 86
    Last Post: 26-08-2004, 12:10 AM
  2. reading festival tickets
    By 5lab in forum General Discussion
    Replies: 24
    Last Post: 15-04-2004, 02:53 PM
  3. Reading to Liverpool
    By CocoPops in forum Automotive
    Replies: 8
    Last Post: 12-02-2004, 01:46 PM
  4. off to c metallica at reading!
    By PanzerKnight in forum Consumer Electronics
    Replies: 5
    Last Post: 09-08-2003, 07:42 PM

Posting Permissions

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