dcsimg
A Flash Developer Resource Site

Results 1 to 16 of 16

Thread: Dynamic News Via XML

  1. #1
    Junior Member
    Join Date
    Apr 2001
    Posts
    8

    Smile

    Hello,
    I am interested in pulling dynamic news feeds into Flash via XML(or other) I have seen this done at serveral sites including http://www.moreover.com , but the only example listed uses generator(which I currently do not have). Are there other alternatives? Any ideas or recommended sites would be greatly appreciated.

    Thanks, and have a good day.

    jw taylor
    http://webdesign.naxs.com

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Posts
    3
    You just need to get the free Flash Generator add on from the Macromedia site to get this to work.
    The only problem I am having now is figuring out how to get it to refresh the content when it is updated at Moreover. Anyone able to point me in the right direction?


  3. #3
    Junior Member
    Join Date
    Apr 2001
    Posts
    8
    Originally posted by tommatthews
    You just need to get the free Flash Generator add on from the Macromedia site to get this to work.
    Hi Tom, I searched the the macromedia site, but I am having trouble locating a "free generator add-on", Are you refering to the trial edition of generator or something completely different? Thanks for your time, a link would be great.

    jw taylor
    http://webdesign.naxs.com

  4. #4
    Junior Member
    Join Date
    Apr 2001
    Posts
    8
    Can anyone else help with this question?

    Thanks

    jw taylor

  5. #5
    Junior Member
    Join Date
    Sep 2000
    Posts
    3
    Yea it took me awhile to find it too and work out what I needed. Go here to download the Generator Authoring Extensions
    http://www.macromedia.com/software/f...udio/download/
    I have worked out that my news feed not refreshing is not a caching problem and is only updating when I republish the .swf
    Let me know how you go with it.
    [Edited by tommatthews on 05-21-2001 at 09:04 PM]

  6. #6

    xml+moreover

    Hi!

    If you just search the tutorials for xml, there is one about moreover.com and how to get it to work.

    Well, if you figure out how it works, please tell me, cause when I tried it with a moreover url it did not load the content. When I tried to not load it from the server but from my pc, it worked.

    Maybe you can help me.

  7. #7
    Junior Member
    Join Date
    Aug 2000
    Posts
    10

    Re: xml+moreover

    sorry there something i don't understand. why you need a generator xtra?
    since Flash5 you can stream the XML direct to the ClientMovies. Its very easy.

    When the travic by moreocer is to big than you can build your own distributionchannel.

    eg.
    you build one Movie thats all 30 secunds ask moreover for new content. This movie "ServerMovie" is connected with a Flash XML Socket Server (for example my one ) http://www.media-style.com/FDServer/ )
    if your movie has new conntent you send the xml stream over a TCP IP socket connection to the FDServer. The Server send it (!!!!) to the Clientmovies. and wola your Client become a update without reloading or something other..

    If use my Server you can create usergroups for exampel a gruop with the wethernews a Group with computernews aand so on..

    best
    Stefan

  8. #8
    well, it doesn't work and it doesn't need generator.

  9. #9
    Junior Member
    Join Date
    Aug 2000
    Posts
    10
    i was on the moreover side and in my IExpolrer i become a xml file. strange?! You become a error message?
    Where it's break? Try to write a lots of trace and check where it's stop to work.

    You can send me a testmovie. i can try to check this?! i made a lot of connections to php files, and it's work everytime!

    bye stefan

  10. #10
    If I use the tutorial-files it works only from my pc but not from the server. You find the tutorial by searching the tutorials for xml. It's especially about moreover and xml.
    From the web the file does not load the variables.

  11. #11
    Junior Member
    Join Date
    Sep 2000
    Posts
    3
    The tutorial says -
    "A note: flash's implementation of xml only allows you to pull remote xml files from within the flash standalone player. For flash movies on the web, the xml files you wish to use must come from your domain, or from a local source on your webserver's file system."

    This may have something to do with why it is working on your local machine but not the web.

    The format I have been attempting to use is not XML.
    The source file that Moreover provide is a Flash Generator Template which links to a URL such as http://p.moreover.com/cgi-local/page...0news&o=flash.

    The following variables are provided within the Moreover feed, and should be declared within a flash object which can then be replicated -

    hltext_display Headline text
    hllink_code URL for the story
    source Name of news source
    docurl URL of news source
    cluster Name of category
    harvest_time Time at which the headline was harvested

    The problem I am having is that the content will not update unless I re-publish the movie. Is there something I should add to the template or movie to get the new content or does it mean the new content is going into the template OK but will not update when it is a swf?
    [Edited by tommatthews on 05-25-2001 at 07:30 PM]

  12. #12

    concerning xml ...

    But how does it work then to load xml from another server into your flash movie like the tutorial says?

  13. #13
    Junior Member
    Join Date
    Nov 2000
    Posts
    4

    XML tutorial

    I too can not get the tutorial to load from the server. It works locally but not on the server. Regarding the above post does this mean that I have to download the .xml file from moreover and place it on my server to get it to work? Does anyone know of a PHP script that can automate the process? There has to be a way around it.

  14. #14
    Junior Member
    Join Date
    Nov 2000
    Posts
    23

    Smile I've got it working...

    I got it to work guys, check out http://www.sublime.tv It's my personal site, very unfinished, but nonetheless it will demonstrate the XML newsfeed.

  15. #15
    but how?

  16. #16
    Junior Member
    Join Date
    Nov 2000
    Posts
    4

    ASP Script for XML retrieval....

    Check it out! If you have ASP, I figured out a way for it to work...

    http://board.flashkit.com/board/show...hreadid=151712

    Hope this helps!

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