A New Build a Feed Form

June 02, 2005

The Build a Feed Form has been changed to make it a bit more usable. In the previous versions and as our form options expanded, you had to keep scrolling up and down to get to the preview and generate buttons. I wanted to make them more reachable near the top of the page, and to make it so the preview button would open in a new window.

As it turns out there were more twists than expected. The logic of keeping one button using PHP to generate the code and display it in a textarea for easy copy pasting conflicted with the other button needing JavaScript to not only open the window, but to access the current form field values. And this effort did not even include the extra 2 hours of dinking around with IE to drive corners around its CSS quirks.

As it stands now, this is in test mode only on the main Feed2JS site, and I need some more feedback or testing before rolling a copy into the downloads and the mirrors.

Would it be possible to return the rss as one big javascript variable (rssvar+= instead of document.write ), and then the site developers can parse the rss feed directly?

See example of reading an crossdomain js variable below.

<html>
<body>
<script src="http://www.dynamicdrive.com/ddincludes/adbanner.js" type="text/javascript" language="Javascript" ></script>
<script>alert(randban[0]);</script>
</body>
</html>

Posted by slyi at June 3, 2005 01:13 PM

a basic example is on http://members.fortunecity.com/slyeye/

Posted by slyi at June 3, 2005 05:45 PM

I am sorry but it is not very clear what you are asking for. Feed2JS is not written for "developers" but amateur web page creators who just want to stick an RSS feed in a furm, turn the crank, and get a chunk of code they can copy and paste into a web page to generate RSS content.

It would be a different task to use our script to grab the feed and return it as a lump of JavaScript for coders to parse via JaavaScript and I honestly do not have time or really an interest/reason to ioffer that as a service.

Posted by Alan Levine at June 3, 2005 06:29 PM

Hi Alan,
The service you are providing enables anyone with no server-side scripting experience/access the benifits of RSS.

This is a amazing service and i really love it. I just wanted to give something back for all the use i get from your service.

Providing the the actual raw rss is probably only useful to scriptkiddies. Thank you for looking into the idea anyway.

Keep up the great work,

slyi

Posted by slyi at June 4, 2005 04:08 AM

Cool tool. Kudos.

http://www.mikeskramstad.com/oscommerce_hosting_customization.shtml

Posted by mike at June 14, 2005 05:07 PM

Write a comment










Remember personal info?





Spam Prevention Security Code: Enter the numbers you see in the image above