Docs
FAQ
- Ever heard of Pipes?
- Are these really frequently asked questions?
- How can I include a widget in my webpage?
- How can I load a JSonduit feed?
- How can I access the feeds from flash?
- What are some valid feed urls?
- What data types are allowed for feed sources?
- I believe I have encountered a bug or security hole. What should I do?
Ever heard of Pipes?
No, what is Yahoo! Pipes? Anyway, some people prefer the command line to a GUI; whatever that means.
Are these really frequently asked questions?
Actually, no. Right now they are simply questions I ask myself from time to time.
How can I include a widget in my webpage?
1. The following script tag needs to be included the webpage:
<script language="JavaScript" src="http://jsondiut.com/js/tools.min.js"> </script>2. Call the following function:
JSonduit.widget.load(widgetId, cssElementId);"widgetId" is the ID of the widget to display, "cssElementId" is the ID of the element into which the widget will be inserted.
How can I load a JSonduit feed?
1. The following script tag needs to be included the webpage:
<script language="JavaScript" src="http://jsondiut.com/js/tools.min.js"> </script>2. Call the following function:
JSonduit.feed.load(feedId, 0, function(data) {
if (data.error) {
alert("Feed Error: " + data.error.error + " : " + data.error.desc);
}
else {
alert(JSON.stringify(data.result));
}
});
How can I access the feeds from flash?
There's a root crossdomain.xml here:
http://jsonduit.com/crossdomain.xml
That allows flash to fetch crossdomain.xml from subdirectories. There are currently two subdirectories that have crossdomain.xml files allowing all comers:- http://jsonduit.com/v1/f/i/crossdomain.xml - for loading information about a feed
- http://jsonduit.com/v1/f/l/crossdomain.xml - lor loading feed data
What are some valid feed urls?
Currently, there are only two formats supported:
- http://server/path?query (only on port 80)
- feed:xxx (this references another JSonduit feed as a data source)
What data types are allowed for feed sources?
The following mime-types are currently supported:
- text/plain
- text/html
- text/csv
- text/css
- application/rss+xml
- application/xhtml+xml
- application/xml
- text/xml
- application/atom+xml
- application/x-javascript
- application/javascript
I believe I have encountered a bug or security hole. What should I do?
A flaw? Unpossible. In any case, tell us what you think the problem is and we will do out best explain to you how you are actually wrong.
