Presentation is loading. Please wait.

Presentation is loading. Please wait.

This is the cover slide..

Similar presentations


Presentation on theme: "This is the cover slide.."— Presentation transcript:

1 This is the cover slide.

2 XML Web Exporter, Fielded Data, XSL Transformation
Creating Data Feeds XML Web Exporter, Fielded Data, XSL Transformation This is your session title slide

3 Creating Data Feeds Introduction
The XML Web Exporter Some of the Exporter settings and how they may apply to you A little bit about Fielded Data Modification Utility and fielded data. XSL Transformation (XSLT) Ads – hopefully we have this covered. Fielded data – not required but vendors may want you to send particular info. XML Web Exporter – next slide XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

4 Creating Data Feeds using XSL Transformation
What do you need? Ads (fielded data optional) XML Web Exporter A means of ‘transforming’ an XML document into another using an XSLT style sheet. Why would you do this? You can take a feed from AdBase and configure it to various vendor’s specifications. Ads – hopefully we have this covered. Fielded data – not required but vendors may want you to send particular info. XML Web Exporter – next slide XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

5 XML Web Exporter Preferences Filters Export File location
Page type, dates, product, ad type, etc Start and End Date ‘Define Placements’ Export File location Preferences – which job. Zone can be tricky because you can only choose none, or one. Page Type, Edition, Zone and Category are set to <None> which means ALL. Choosing Placement/Position allows you to select by such and the Category filter is grayed out, choosing Category allows you select by Category.

6 XML Web Exporter (cont.)
Selecting Placement and Position

7 XML Web Exporter (cont.)
Common settings Send Class Description Send SubClass Desc Extended Tags Fielded Data Tags Send Class Description – Includes the Placement description from the AdBase database Send SubClass Desc – Includes the Position description from the AdBase database Extended Tags – includes a larger set of tags. Additional tagged information from the Site Custom fields in the Shadorderuserfields table. Fielded Data Tags – Used in some cases for these items to be searchable online.

8 XML Web Exporter (cont.)
Other Settings Ad Content Text Only checked Ad Content Text Only unchecked Advance Additional Fields – Adds <edition> and <zone> tags. Also images are handleds differently. Unchecked checked <![CDATA[ CHEVY 1966 Corvette 427 convertible, ground up restoration for estate sale, for more info ]]> <![CDATA[ <p align="center"><font face="GeoBook" size="1" color="#000000">CHEVY 1966 Corvette 427 convertible, ground up <br/> restoration for estate sale, for more info </font></p>  ]]> <A HREF=" target = "popup"> Photo As Order Num – check this out <upsl-url0>

9 XML Web Exporter (cont.)
Make sure you have ad content. No ad content may be bad. Does anybody else have this problem. Is there a workaround?

10 Fielded Data Modification Utility
This is one of our forms in the fielded data mod utility. Each of the ‘Configured Fields’ are on the right. For each field, you put the name that you would like the XML tag to be when output from the XML Web Exporter. In this case, the tag is <Experience>. In Product Define, you can associate fielded data forms based on placement, position, etc. Define List, Dependencies You can also have multiple instances of a form per ad. For instance, multiple job listing per ad. Each form becomes a separate job listing.

11 XSL Transformation XML Stylesheet Transformations (XSLT) is defined as a language for transforming source XML documents into other document formats using XML Path Language (XPath) as a query language. - has some sample code for implementing. XSL – Extensible Stylesheet Language. XSL Transformation (XSLT): an XML language for transforming XML documents XML declaration: <?xml version="1.0" encoding="UTF-8"?> Processor – analyzes the markup and passes structured info to the application. Markup and content – markup is the tags, content is in the tags and CDATA section Start-tag, end-tag, empty-element tag. Elements, child elements, attributes, comments, character escaping.

12 Sample Feed out of AdBase
XML declaration: <?xml version="1.0" encoding="UTF-8"?> This represents the data that comes out of AdBase for one ad. There would be multiple ads

13 Sample Feed out of AdBase
In this case, the ad-content is ‘text only’.

14 Sample XSLT file XML declaration: <?xml version="1.0" encoding="UTF-8"?> The nodes in maroon are going to be the nodes in the result document. UserName checks for a valid . If it is, then it becomes the Username. Otherwise, it becomes no The tag <featuredInSearch> will only show up if one of the FeaturedAd tags is checked. Otherwise it doesn’t show. Same with TopAd tags.

15 Sample XSLT file (cont.)
The four location tags only show up if OnlineMap is true. Otherwise the tags don’t show up. Same with the upsells being dependent on ScrollingBanner being true.

16 Resulting file sent to vendor

17 Sample 2 – RSS Feed In this case, we take a similar XML file and transform it into an RSS feed.

18 Sample 2 – Resulting file
<?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title /> <link /> <description /> <language>en-us</language> <item> <title><![CDATA[Automotive: Antiques and Classic - Imperial Beach]]></title> <link><![CDATA[ <description> <![CDATA[MGB 1964 Red with black interior, Grea…]]> </description> </item> <title><![CDATA[Automotive: Autos for Sale - San Diego]]></title> <link><![CDATA[ <![CDATA[LEXUS 2003 ES300 loaded, beautiful cond....]]> </channel> </rss> This file is sent to our online people and put into a scrolling widget.

19 Questions?


Download ppt "This is the cover slide.."

Similar presentations


Ads by Google