Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How do I create a pdf that pulls in event details from a RSS feed.

Anonymous
Not applicable

Hi,

I want to create a pdf that pulls in event details from a RSS feed.  (I’m fairly new to Livecycle Designer ES)

http://www.eventfulreg.com/index.php/feeds/ff3065b338db9a7ccd616911540bdea2

The pdf will have a table with a number of rows containing event details..

Eg.. 

Event,LocationDescriptionDate
Event 1BelfastAn event1 October 2013
Event 2Dublin3 Octover 2013

How can I do this?

Do I need a WSDL file or XSLT or XSD file?

Thank you for your time,

Ollie.

1 Reply
_Bruce_Robertson
Level 10
Level 10

Hi Ollie,

There is a GET function available in the FormCalc language.  I tend to stick with JavaScript, so use a method of calling FormCalc functions described here, http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html.

So we can now get the feed, load up our data connection and bind our form fields to it, like;

var feed = FormCalc.Function.Get("http://www.eventfulreg.com/index.php/feeds/ff3065b338db9a7ccd616911540bdea2");

if (feed !== "")

{

    $data.loadXML(feed, true, true)

    xfa.form.remerge();

}

Assuming the binding on your form fields is correct you will get the contents of the feed displayed in your form.  Here is a sample https://workspaces.acrobat.com/?d=iFgpUjUbXk5gobAVWRoBVg.

You might find that Reader throws up some warning messages so it might not be the best user experience.

Hope this helps

Bruce