I found this guide here http://www.agiriley.com/?p=327 Is this better than the one you found? If not let me know and I will give it a shot.
You could always use the web reader (filemaker version 8.5 and up)and open up something like the google reader, simple pie, etc in the page. Let me know if it works out.
Peter in Japan wrote:
I know nothing of XML stylesheets, is there a "generic" way of important XML data that might work with this system?
No, you need a stylesheet customized to the XML schema of the imported data.
Wow, that's way better than what I had, thanks! It works out of the box with my own site's XML, or rather that default style sheet works fine. I'll see about tweaking the style sheet for the twitter data I want to import. I'll post when I get that done in case it's helpful to anyone.
Currently I'm able to make it work fine when importing, say, the products in my RSS feed on my site, but I can't get it to import tweets from the twitter search. Does anyone have an idea about how to customize the xml style sheet for this purpose? It seems hopelessly over my head.
Here's an example that will import the title and the author - I trust you'll be able to adjust it to your needs:
<?xml version="1.0" encoding="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" exclude-result-prefixes="atom"> <xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/> <xsl:template match="/"> <FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult"> <ERRORCODE>0</ERRORCODE> <PRODUCT BUILD="" NAME="" VERSION=""/> <DATABASE DATEFORMAT="" LAYOUT="" NAME="" RECORDS="" TIMEFORMAT=""/> <METADATA> <FIELD NAME="Title" TYPE="TEXT" EMPTYOK="YES" MAXREPEAT=""/> <FIELD NAME="Author" TYPE="NUMBER" EMPTYOK="YES" MAXREPEAT=""/> </METADATA> <RESULTSET FOUND=""> <xsl:for-each select="atom:feed/atom:entry" > <ROW MODID="" RECORDID=""> <COL><DATA><xsl:value-of select="atom:title" /></DATA></COL> <COL><DATA><xsl:value-of select="atom:author/atom:name" /></DATA></COL> </ROW> </xsl:for-each> </RESULTSET> </FMPXMLRESULT> </xsl:template> </xsl:stylesheet>
Awesome, thank you very much! Plugging this in successfully brings in the content of the tweets into the "description" field, but the one thing I think I need is the name of the person doing the tweeting, since I need to capture that, too. Can you possibly check the feed (below) and see if you can see how to capture that?http://search.twitter.com/search?q=&ands=anime&phrase=&ors=¬s=&tag=&lang=en&from=&to=&ref=&near=&within=15&units=mi&since=&until=&rpp=20
I have used the URL in your original post:
as the test, and the stylesheet does import the author's name.
Your last link does not return a XML document.