A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: XML guestbook

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    XML guestbook

    Ok almost have the XML thing worked out... and the dynamic HTML text. So I'm closing in on a nice XML base guestbook. Here is a little preview that loads a simple XML datafile and parses the output into a dynamic HTML element. Oh and best thing is so far it's about 1k
    http://bretlanius.com/gb/xml.html

  2. #2
    Member
    Join Date
    Nov 2001
    Posts
    49
    Very Sweet,

    I have a few scripts that compile XML, but I have little knowledge on how to use it.

    would this movie be able to pull XML from, say,
    Blogs, Forums, USPS Shipping, maybe? (They output XML)

    I noticed some variables being presented there like a HTML tag, would those variables need to be set in the movie?

    Great work so far, I'm near convinced theres not much you cant do brett...... Thanks for the peek!

    dub

  3. #3
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Originally posted by goodwin2
    Very Sweet,

    I have a few scripts that compile XML, but I have little knowledge on how to use it.

    would this movie be able to pull XML from, say,
    Blogs, Forums, USPS Shipping, maybe? (They output XML)

    I noticed some variables being presented there like a HTML tag, would those variables need to be set in the movie?

    Great work so far, I'm near convinced theres not much you cant do brett...... Thanks for the peek!

    dub
    Yeah You could pull XML from those sources. The example here is just a text file on my server. The one problem to overcome is whitespace. By default Flash sees whitespace as a node so that complicates matters, right now I've just removed all the whitespace, but I think it could be dealt with progamically unless 3dfa gets the ingorewhitespace function added.

    Do you have a link to any cool XML sources? I'd like to play with other material. Rob says there will be an XML example in the next beta release.

  4. #4
    Member
    Join Date
    Nov 2001
    Posts
    49
    Originally posted by blanius

    Do you have a link to any cool XML sources? I'd like to play with other material. Rob says there will be an XML example in the next beta release.
    Sure,
    Take a look at:
    http://www.tackleunderground.com/board/rdf.php

    This is an XML output of one of my heavily modified PHPBB forums.
    The RDF/XML script is pulling the data from MYSQL.

    It has a few parameter to play with also.

    example:

    PHP Code:
    http://www.tackleunderground.com/board/rdf.php?c=50 
    Shows last 50 posts. dont know why it looks like "5U" in the code, its actually "C=50" (above)

    PHP Code:
    http://www.tackleunderground.com/board/rdf.php?f=3 
    Shows only posts made in forum ID #.3 (above)

    Hey Brett, I think Vbulletin has an XML mod also, If we could talk flashkit into throwing the script into the BB directory, you could "SWF" the flashkit boards, huh.

    lol just a brainfart, lemme know if you need more.
    dub

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center