Skip navigation
Currently Being Moderated

Easiest way to share an XML file online?

Apr 7, 2013 9:52 PM

I have the need to have an XML file syncronised across two computers in two locations. The updates need to be fast (not quite live game fast but close). I don't want to setup a SocketServer just to do this. What's the simplest/easiest way to do this. I had planned to use the Adobe Colaborative Service but that's not available anymore and is probably overkill anyway. Any suggestions?

 
Replies
  • Currently Being Moderated
    Apr 7, 2013 10:23 PM   in reply to new2oop

    If you had a web-hosting service you could put it on your server and display it in a web browser directly:

     

    "http://myserver.domainextension/myXMLfile.xml"

     

    as an example.  Please don't click on that link as I don't think it is a real link.  I just made it up to show you what you would type in your web address bar.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2013 10:27 PM   in reply to new2oop

    Note, I mentioned the above solution because it is not guaranteed that if you also need to view the XML on a mobile device that it would support Flash Player/Flex Framework unless you deployed a mobile Adobe AIR app for that device-type.  If you're just going to use the 2 computers then you can look into ActionScript 3.0 for XML classes.  One class that comes to mind or one method is XMLList

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2013 10:35 PM   in reply to new2oop

    I am still not that familiar with Flex so I don't know if it provides RSS.  If it does, then GREAT that would be your answer.

     

    Have a look at this site:

     

    http://www.petefreitag.com/item/465.cfm

     

    It talks about how to create an RSS feed which is what I think would be a great solution for you.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2013 10:45 PM   in reply to new2oop

    Also check out this article on stackoverflow:

     

    http://stackoverflow.com/questions/8406643/actionscript-3-0-rss-feed

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2013 10:56 PM   in reply to new2oop

    I just saw this article and found that RSS is somewhat slow, but it does notify you of changes.

     

    http://techcrunch.com/2009/07/09/speeding-up-rss/

     

    Maybe there's something in the article to explain how to make it work faster than 2 minute intervals.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points