FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Technology Preview 2 - Now Available View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
Tech Support



Joined: 27 Aug 2004
Posts: 2782

PostPosted: Mon Aug 30, 2004 10:47 pm Reply with quoteBack to top

We have posted a second Technology Preview release. If you want to check it out, please email us (support@feedforall.com), and we will send you the download link.

Here are the changes:

Changes Since Technology Preview 1
- New icons for toolbars
- Fixed image uploading
- Added image re-download function
- New hotkey <ctrl><enter> creates new feed or new item (depending on active tab)
- Fixed form scaling to work with all screen DPI settings
- Added support for multiple skins, under the View menu
- 10 skins included in download
- Added export with template support for HTML, Text, and CSV
- 3 sample templates included in download
- Improved form resize routine to stretch feed fields (previously only lists stretched)
- Added support for .rss as an extension
- Made feed's title the default filename for newly created or newly downloaded feeds

We are trying to include everybody's suggestions as fast as possible, so please keep them coming.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2782

PostPosted: Mon Aug 30, 2004 11:21 pm Reply with quoteBack to top

I want to give a little more details on the new export feature. Supporting templates for the exports enables the user to customize what the resulting file will look like. Simple templates are included for all three export methods (HTML, Text, and CSV). The Text and CSV templates are fairly straight forward, but I wanted to use the HTML template for an example here. It is probably the most useful of the there.

I forsee lots of uses for exporting with templates to HTML. Probably the most obvious is so that you can have FeedForAll automatically create a webpage with your feed's info in it. It can probably also be used to create webpages, or parts of webpages for including in other existing pages (via server-side includes, .asp, php, etc.).

The templates use six variables to tell FeedForAll where to insert the feed's data into the template. They are:
~~~FeedTitle~~~
~~~FeedDescription~~~
~~~BeginItemsRecord~~~
~~~ItemTitle~~~
~~~ItemDescription~~~
~~~EndItemsRecord~~~

The first two are very straigt forward. Anywhere that ~~~FeedTitle~~~ shows up in the template, the feed's title is inserted. And, anywhere that ~~~FeedDescription~~~ show up in the template, the feed's description is inserted.

The variables related to the items are a little more complicated (but still easy to use). Because a feed will typically have several item entries in it, the template needs a way to designate how to create sections for evey item. This is done by using the ~~~BeginItemsRecord~~~ and the ~~~EndItemsRecord~~~ to designate the portion of the template that will be repeated for each item. Everything between those two markers will be repeated for each item in the feed. Among other things, you will probably want to include the item's title and description in that repeating section. The ~~~ItemTitle~~~ and ~~~ItemDescription~~ variables are used for that.

I think the best way to make the use of the templates clear is to give an example, so here goes:

Here is the text of a simple HTML template (it can be downloaded from here http://www.feedforall.com/support/BasicWebpage.htm ).

<HTML>
<HEAD>
<TITLE>~~~FeedTitle~~~</TITLE>
</HEAD>
<BODY>
<H1>~~~FeedTitle~~~</H1>
<H2>~~~FeedDescription~~~</H2>
<BR>
<TABLE width="100%">
~~~BeginItemsRecord~~~
<TR><B>(~~~ItemTitle~~~</B></TR>
<TR>~~~ItemDescription~~~</TR>
<BR>
~~~EndItemsRecord~~~
</TABLE>
</BODY>
</HTML>

Using template above, and this feed ( http://www.softwaremarketingresource.com/feed.xml ) gives you this resulting webpage: http://www.feedforall.com/support/Webpage.htm

This is an extremely simple example, but you could easly apply this to a realy fancy webpage, turned into a template by inserting the variables and markers.

Please let me know if any of this isn't clear.
View user's profile
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme