Click to See Complete Forum and Search --> : Loading an XML File?
dniezby
01-13-2006, 01:09 PM
How would one go about loading an XML file?
I'd like to load my XML file from eBlogger into...say a content pane?
Here is the xml file
http://www.nsfilms.com/feeds/rss.xml
wozbk
01-13-2006, 08:34 PM
I haven't tried it at all (yet), but after a little research this looks, on the surface, easier to implement than many solutions out there:
http://www.flash-db.com/rss/
dniezby
01-23-2006, 03:16 AM
Any thoughts on how to load the XML file into a contentpane? Come on Chris..I know you have the answer :)
-Dave
Chris_Seahorn
01-23-2006, 03:45 AM
Lots of examples. Question is...what is the data. Pics?
If it's to load that EBlogger backend...you're on your own. That's why I never replied. Besides...your E-Blogger backend is ATOM not RSS 2.
dniezby
01-23-2006, 03:53 AM
Dude, don't you sleep? :)
I see what you're saying about the above link...What about if I used the RSS fee d from myspace?
http://blog.myspace.com/blog/rss.cfm?friendID=21437846
Chris_Seahorn
01-23-2006, 03:58 AM
I get the late shift with the baby. ;)
If that myspace is an RSS 1 through 2 you can use the backend from my blogger download to strip it as variables with zero coding (well...maybe one edited line of php). Let me find that one too. Just getting things back in order.
dniezby
01-23-2006, 09:27 AM
Do you mean KBlog? I have that download. How do I modify it to implement it into my site?
Chris_Seahorn
01-23-2006, 10:19 AM
In the "blogdata" subfolder, there is a file named "getfeed.php". Alter this line:
$feedurl= $_POST["feedurl"];
to be a hard coded address (your myspace addy)
$feedurl= "http://www.pathtosomerssfeed.com/backend.php";
Make sure "xmlclass.php" is in that same folder (getfeed.php includes it) and then direct hit it in your browser and if it will parse...you will get a return as a string with a variable name of "txtMain":
&txtMain="thebrokendownfeed";
If you put a dynamic textfield with a variable name of "txtMain" inside your movie and hit that backside you should get a nicely laid out feed.
dniezby
01-24-2006, 06:47 PM
Cool. I'll try this out...Thanks.
dniezby
01-25-2006, 01:20 AM
Is there a way to assign a variable to a contentpane?
dniezby
01-25-2006, 01:35 AM
Chris, what do you mean by "hit that backside you should get a nicely laid out feed." ?
Is there a way to put this into a contentpane?
Chris_Seahorn
01-25-2006, 02:35 AM
http://sandbox.blogdns.com/previews/RSS_Contentpane_KM/RSS_CONTENTPANE.html
That "getfeed.php" I mentioned is being told to load:
http://sandbox.blogdns.com/backend_black.php
Then the text variable "txtMain" created in "getfeed.php" is sent back in to our movie. I purposely tied that return to the loadVars return to show you how that works just like your form....we don't send the data to the contenpane until the loadVars signals success.
It's in my downloads.
dniezby
01-26-2006, 01:51 PM
Friggin amazing as usual.
Chris_Seahorn
01-26-2006, 02:53 PM
Friggin amazing as usual.
Nope. That my friend is just Practical Dynamics ;)
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.