SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
XML Data Feeds and Web Services for Affiliates by Carsten


XML DATA FEEDS AND WEB SERVICES FOR AFFILIATES
Article by Carsten Cumbrowski, June, 18 2006 and September 9, 2006.
This is an updated version of my original Scrap. Carsten, 9/9/2006

TABLE OF CONTENTS

        Introduction
        1. Web Services Basics and Some Technical Stuff
        2. Web Services Development
        3. Application and Use of Web Services
        4. Old-fashioned Data feeds
        5. Sources of Background Information and Resources

XML (such as RSS) data feeds and web services are the new buzzwords in affiliate marketing. Let me try
to explain to the non-technical folks what all of this is, what it's good for, and what it is not good for -
and why.

1. WEB SERVICES BASICS AND SOME TECHNICAL STUFF
To get a general idea about what quot;web servicesquot; are, take a look at this PDF. The guys from Apache did a
good job explaining it in a short and simple manner.

Web services are based on XML (eXtensible Markup Language), SOAP (Simple Object Access Protocol)
and WSDL (Web Services Description Language). The latter two were developed in a joint effort by Sun,
Oracle, HP, Microsoft, and IBM.

Web services are quot;next generation.quot; The general technology has been around for a while, but it's now
maturing (similar to AJAX). Things come together and fall into the right place to really exploit the
technology's advantages in an easy-to-use and reliable environment.

2. WEB SERVICES DEVELOPMENT
Visit CJ's (Commission Junction Affiliate Network) webservices.cj.com for their new Web Service
including Documentations and Sample Source Codes. Also CJ's old quot;Getting started Guidequot; for the Web
Services beta includes references and resources for PHP/Linux developers. Here is a link to an excerpt
from a Wrox book about open source web services using NuSOAP and PHP (PDF ). You can also just
search for quot;NuSOAP PHP WSDLquot; at your favorite search engine to get a good list of sites about it.

On the latest Microsoft platform, it is even easier. Web services are fully integrated into the current
version of the .NET Framework 2.0. The MS Visual Studio 2005 Development Environment (ASP.NET,
VB.NET, C#.NET, etc.), which is used by Windows developers, makes it really easy to work with web
services.

The new MS SQL Server 2005 also has built-in web service support to allow: easy publication of data via
web service; receipt of data; or going the whole nine yards with interactive and bidirectional

                                                 Page 1 of 4
XML Data Feeds and Web Services for Affiliates by Carsten


communication - for an API, for example. Microsoft released its new software mentioned above at the
end of last year.

If you use older technology like MS SQL Server 2000, VB6, older .NET Frameworks, etc., you need to
install and use the SOAP Toolkit for Windows, which you can download here.

XML data are today mainly processed pretty quot;rawquot; via applications using tools that are based on the
DOM Object Model. Today, the necessary components are included with operating systems and/or
browsers so as to be a non-issue when it comes to widespread application. The whole RSS, ATOM, BLOG,
AJAX usage is based on that.

Developers need to quot;mess aroundquot; way too much with the basics (raw XML) using that technology.
Because XML allows you to do a lot of things and can become quite complicated, many things can go
wrong during the send-and-receive process on either end. That's why RSS and ATOM Standards have
been established. Those are, in essence, nothing more than XML files that have a very specific definition
of structure. It's not flexible, though, and such inflexibility makes it hard to overcome problems.

A good example is product data feeds. The information in a (generally useful) product feed goes beyond
the definitions of RSS (2.0). Google Base was working around the problem by quot;extendingquot; RSS and thus
created a proprietary format, and we are back to square one. Web services using SOAP (Simple Object
Access Protocol) and WSDL (Web Services Description Language) solve that problem.

3. APPLICATION AND USE OF WEB SERVICES
At this time, there is not really any quot;genericquot; plug-and-play tools for affiliate marketing available using
web services, but that will change quickly, as web services are more and more commonly used.

Web services will not make old-fashioned data feeds in the form of delimited (and maybe zipped) files
obsolete.

If you have a lot of products and the affiliate requires having all the products in its database for special
processing, a web service is probably not such a good idea. However, the question is, quot;Do I need all the
product data in my database for what I am doing with the data?quot; That's a question that can be answered
quot;Noquot; in most cases.

If I just want to have a little storefront or need the list of all your quot;widgets,'quot; collectibles, or your price
for a specific UPC for price comparison, I don't have to have all of the data in my database. If I can make
a request, in real time, to your site/servers and get the data I need, when I need it, the process will work
fine. It's even better if I can get the information directly and in real time, because it is up to date. You
can tell me availability, the current price (no more outdated prices on my site), etc.

You see where this is going and I believe that you are going to like it!




                                                 Page 2 of 4
XML Data Feeds and Web Services for Affiliates by Carsten


4. OLD-FASHIONED DATA FEEDS
When it comes to quot;old-fashionedquot; file feeds, I prefer to work with delimited files. There are fewer errors
possible, the file is smaller, and most quot;classicquot; applications and tools (Excel, MS SQL Server 2000, etc.)
can work with it. XML files make sense only if you use the data to specify variations of the same product
- variations that are virtually the same with only minor differences, such as different sizes and colors for
clothes.

It is a bit tricky with delimited (two-dimensional) feeds to handle those differences.

Option 1: Use delimited data within a single record (using a different delimiter than for the general feed)
e.g., the quot;Tabquot; delimited data feed has a column quot;colorsquot; which contains a comma delimited list of all
available colors for the product. That gets complicated when you have combinations of properties like
size and color when not all combinations are available, or when other things change for certain
combinations - like price or shipping cost.

Option 2: For every unique variation of the product, send a complete product record in the feed. The
disadvantage here is that it looks horrible on the affiliate site if there are no means provided to quot;groupquot;
the variations under a quot;masterquot; SKU and avoid the seemingly duplicate items in the product listings. See
a practical example.

XML feeds can also have more data for a simple record. The limitations for delimited files vary from
platform to platform, but I think that in our business it does not really matter. I have not seen a product
feed with too much product information. It is usually the other way around. I recommend taking a look
at my article Merchant Product Data feeds for Affiliates 101 to learn more about data feeds. I also
suggest that you visit my Affiliate Data feeds and Web Services Resources Page.

There are places where you are better off with XML, but honestly, I have not seen a merchant who:

A) generates XML data feeds because of that reason; and
b) does it properly.

I believe (but can't prove) that most merchants today are providing XML feeds mainly so they can say
that they have an XML feed (that is, using a buzzword, being trendy, modern, touting the latest
technology).

FORGET ABOUT CSV WHEN IT COMES TO DATA FEEDS
I am searching for the person who can show me the benefits of a two-dimensional (Excel Sheet Style)
FILE based product data feed over a delimited one.

I agree that quot;comma delimitedquot; is probably not the best choice for a product data feed, but that is
because of the nature of the data in the feed. A comma in the product description can blow your whole
feed if not treated properly on your side and mine.




                                                Page 3 of 4
XML Data Feeds and Web Services for Affiliates by Carsten


That's the reason I believe TAB or PIPE (|) delimited feeds are the best solution. quot;TABquot; is a character
which has no use on the web anyway (there is no TAB in HTML) and PIPE is a character which I have not
seen yet as valid character in product content.

5. SOURCES OF BACKGROUND INFORMATION AND RESOURCES
Sources of Background Information
XML Specification at W3C - XML stands for eXtensible Markup Language
DOM Specifications at W3C - DOM stand for Document Object Model
SOAP Specifications at W3C - SOAP stands for Simple Object Access Protocol
WSDL 1.1 Specifications at W3C - WSDL stands for Web Services Description Language

AJAX stands for Asynchronous JavaScript and XML and is nothing new; it was previously known as
quot;remote scripting.quot; Microsoft's Remote Scripting (or MSRS) was introduced in 1998. The term 'Ajax' was
coined on 2/18/2005 by Jesse James Garrett from Adaptive Path.

To make it easy to find public web services, IBM, Microsoft, and Ariba started the Universal Description,
Discovery and Integration (UDDI) project. See details at the project's official website.

The passport authentication system is one of the web services in Microsoft's .NET initiative, and is
available without charge at the moment, so developers can use passport authentication within their
own sites.

RSS-Extensions from Google (used for Google Base, for example), Microsoft and Buy.com
Microsoft's Simple Sharing Extensions for RSS and OPML
Google Data APIs Protocol (GData)
Buy.com RSS 2.0 Product Module Definition Version 1.0
Also interesting: Web Services article at AListApart.com.

Additional Information and Resources
APIs and Web Services Resources - Website Development, APIs and Web Services Resources, Tools and
Articles
XML For Everyone - SQL Server Standard Magazine (e-Magazine and Print), 09/2006 Issue
Webservices.XML.com - Articles and News dedicated exclusively to Web Services.
quot;Web servicesquot; at XML.com - Keyword Search Results Listing

Reminder: Make sure to check out my popular article about Data feeds for Affiliates 101 and my Affiliate
Data feeds and Web Services Resources Page as well.




Carsten Cumbrowski


                                               Page 4 of 4

Weitere ähnliche Inhalte

Was ist angesagt?

Fundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersFundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersLemi Orhan Ergin
 
SharePoint Document Sets - SharePoint Saturday Denver 2013
SharePoint Document Sets - SharePoint Saturday Denver 2013SharePoint Document Sets - SharePoint Saturday Denver 2013
SharePoint Document Sets - SharePoint Saturday Denver 2013SharePointWolfe
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web ArchitectureChamnap Chhorn
 
DBX to PST Converter software
DBX to PST Converter softwareDBX to PST Converter software
DBX to PST Converter softwareCauvery Varma
 
Response pro business mail
Response pro business mailResponse pro business mail
Response pro business mailLandon Shipman
 
SharePoint Document Sets
SharePoint Document SetsSharePoint Document Sets
SharePoint Document SetsRegroove
 
Datalayer Best Practices with Observepoint
Datalayer Best Practices with ObservepointDatalayer Best Practices with Observepoint
Datalayer Best Practices with ObservepointMike Plant
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLHowpk
 
Introduction to Basic Concepts in Web
Introduction to Basic Concepts in WebIntroduction to Basic Concepts in Web
Introduction to Basic Concepts in WebJussi Pohjolainen
 
The road to professional web development
The road to professional web developmentThe road to professional web development
The road to professional web developmentChristian Heilmann
 
Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)Roohul Amin
 
Krug Fat Client
Krug Fat ClientKrug Fat Client
Krug Fat ClientPaul Klipp
 
Office 365 Local File Share Synchronization - Issues Solved.
Office 365 Local File Share Synchronization - Issues Solved.Office 365 Local File Share Synchronization - Issues Solved.
Office 365 Local File Share Synchronization - Issues Solved.Layer2
 
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...goodfriday
 
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notesDurgadevi palani
 

Was ist angesagt? (20)

Fundamentals of Web for Non-Developers
Fundamentals of Web for Non-DevelopersFundamentals of Web for Non-Developers
Fundamentals of Web for Non-Developers
 
Web technology today
Web technology todayWeb technology today
Web technology today
 
SharePoint Document Sets - SharePoint Saturday Denver 2013
SharePoint Document Sets - SharePoint Saturday Denver 2013SharePoint Document Sets - SharePoint Saturday Denver 2013
SharePoint Document Sets - SharePoint Saturday Denver 2013
 
Beyond Microsoft
Beyond MicrosoftBeyond Microsoft
Beyond Microsoft
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
 
DBX to PST Converter software
DBX to PST Converter softwareDBX to PST Converter software
DBX to PST Converter software
 
Response pro business mail
Response pro business mailResponse pro business mail
Response pro business mail
 
Html 5 and css 3
Html 5 and css 3Html 5 and css 3
Html 5 and css 3
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
SharePoint Document Sets
SharePoint Document SetsSharePoint Document Sets
SharePoint Document Sets
 
Datalayer Best Practices with Observepoint
Datalayer Best Practices with ObservepointDatalayer Best Practices with Observepoint
Datalayer Best Practices with Observepoint
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
 
Introduction to Basic Concepts in Web
Introduction to Basic Concepts in WebIntroduction to Basic Concepts in Web
Introduction to Basic Concepts in Web
 
The road to professional web development
The road to professional web developmentThe road to professional web development
The road to professional web development
 
Web engineering 2(lect 0)
Web engineering 2(lect 0)Web engineering 2(lect 0)
Web engineering 2(lect 0)
 
Krug Fat Client
Krug Fat ClientKrug Fat Client
Krug Fat Client
 
web designing course bangalore
web designing course bangaloreweb designing course bangalore
web designing course bangalore
 
Office 365 Local File Share Synchronization - Issues Solved.
Office 365 Local File Share Synchronization - Issues Solved.Office 365 Local File Share Synchronization - Issues Solved.
Office 365 Local File Share Synchronization - Issues Solved.
 
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...
From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS...
 
Internet programming notes
Internet programming notesInternet programming notes
Internet programming notes
 

Ähnlich wie Xml Data Feeds And Web Services For Affiliates

Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Revelation Technologies
 
Introduction to Semantic Web for GIS Practitioners
Introduction to Semantic Web for GIS PractitionersIntroduction to Semantic Web for GIS Practitioners
Introduction to Semantic Web for GIS PractitionersEmanuele Della Valle
 
ASP.NET Unit-3.pdf
ASP.NET Unit-3.pdfASP.NET Unit-3.pdf
ASP.NET Unit-3.pdfabiraman7
 
Document Databases & RavenDB
Document Databases & RavenDBDocument Databases & RavenDB
Document Databases & RavenDBBrian Ritchie
 
Merchant Product Datafeeds for Affiliates 101
Merchant Product Datafeeds for Affiliates 101Merchant Product Datafeeds for Affiliates 101
Merchant Product Datafeeds for Affiliates 101Carsten Cumbrowski
 
ITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssayITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssaySheena Crouch
 
E commerce p1 edit
E commerce p1 editE commerce p1 edit
E commerce p1 editmmm2k
 
REST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesREST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesPaul Fremantle
 
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptTroyfawkes
 
Bt0078 website design
Bt0078 website design Bt0078 website design
Bt0078 website design Techglyphs
 
Silverlight Developer Introduction
Silverlight   Developer IntroductionSilverlight   Developer Introduction
Silverlight Developer IntroductionTomy Ismail
 
OData Across Boundaries
OData Across BoundariesOData Across Boundaries
OData Across BoundariesSam Basu
 
Web Services Foundation Technologies
Web Services Foundation TechnologiesWeb Services Foundation Technologies
Web Services Foundation TechnologiesPankaj Saharan
 

Ähnlich wie Xml Data Feeds And Web Services For Affiliates (20)

Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
 
Introduction to Semantic Web for GIS Practitioners
Introduction to Semantic Web for GIS PractitionersIntroduction to Semantic Web for GIS Practitioners
Introduction to Semantic Web for GIS Practitioners
 
ASP.NET Unit-3.pdf
ASP.NET Unit-3.pdfASP.NET Unit-3.pdf
ASP.NET Unit-3.pdf
 
Document Databases & RavenDB
Document Databases & RavenDBDocument Databases & RavenDB
Document Databases & RavenDB
 
Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES
 
Merchant Product Datafeeds for Affiliates 101
Merchant Product Datafeeds for Affiliates 101Merchant Product Datafeeds for Affiliates 101
Merchant Product Datafeeds for Affiliates 101
 
UNIT-1 Web services
UNIT-1 Web servicesUNIT-1 Web services
UNIT-1 Web services
 
ITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 EssayITEC 610 Assingement 1 Essay
ITEC 610 Assingement 1 Essay
 
Xml+messaging+with+soap
Xml+messaging+with+soapXml+messaging+with+soap
Xml+messaging+with+soap
 
Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)
 
E commerce p1 edit
E commerce p1 editE commerce p1 edit
E commerce p1 edit
 
REST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and LiesREST vs WS-*: Myths Facts and Lies
REST vs WS-*: Myths Facts and Lies
 
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScriptAn Seo’s Intro to Web Dev, HTML, CSS and JavaScript
An Seo’s Intro to Web Dev, HTML, CSS and JavaScript
 
Soap Vs Rest
Soap Vs RestSoap Vs Rest
Soap Vs Rest
 
Bt0078 website design
Bt0078 website design Bt0078 website design
Bt0078 website design
 
Silverlight Developer Introduction
Silverlight   Developer IntroductionSilverlight   Developer Introduction
Silverlight Developer Introduction
 
OData Across Boundaries
OData Across BoundariesOData Across Boundaries
OData Across Boundaries
 
Web Services Foundation Technologies
Web Services Foundation TechnologiesWeb Services Foundation Technologies
Web Services Foundation Technologies
 
Lecture 6 Data Driven Design
Lecture 6  Data Driven DesignLecture 6  Data Driven Design
Lecture 6 Data Driven Design
 
xhtml_basics
xhtml_basicsxhtml_basics
xhtml_basics
 

Kürzlich hochgeladen

Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifeBhavana Pujan Kendra
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...Operational Excellence Consulting
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxShruti Mittal
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsKnowledgeSeed
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdfChris Skinner
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Americas Got Grants
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFChandresh Chudasama
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckHajeJanKamps
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdfChris Skinner
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...Hector Del Castillo, CPM, CPMM
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersPeter Horsten
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxran17april2001
 

Kürzlich hochgeladen (20)

Planetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in LifePlanetary and Vedic Yagyas Bring Positive Impacts in Life
Planetary and Vedic Yagyas Bring Positive Impacts in Life
 
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
The McKinsey 7S Framework: A Holistic Approach to Harmonizing All Parts of th...
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptx
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
Introducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applicationsIntroducing the Analogic framework for business planning applications
Introducing the Analogic framework for business planning applications
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDF
 
Pitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deckPitch Deck Teardown: Xpanceo's $40M Seed deck
Pitch Deck Teardown: Xpanceo's $40M Seed deck
 
20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf20200128 Ethical by Design - Whitepaper.pdf
20200128 Ethical by Design - Whitepaper.pdf
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
 
EUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exportersEUDR Info Meeting Ethiopian coffee exporters
EUDR Info Meeting Ethiopian coffee exporters
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptx
 

Xml Data Feeds And Web Services For Affiliates

  • 1. XML Data Feeds and Web Services for Affiliates by Carsten XML DATA FEEDS AND WEB SERVICES FOR AFFILIATES Article by Carsten Cumbrowski, June, 18 2006 and September 9, 2006. This is an updated version of my original Scrap. Carsten, 9/9/2006 TABLE OF CONTENTS Introduction 1. Web Services Basics and Some Technical Stuff 2. Web Services Development 3. Application and Use of Web Services 4. Old-fashioned Data feeds 5. Sources of Background Information and Resources XML (such as RSS) data feeds and web services are the new buzzwords in affiliate marketing. Let me try to explain to the non-technical folks what all of this is, what it's good for, and what it is not good for - and why. 1. WEB SERVICES BASICS AND SOME TECHNICAL STUFF To get a general idea about what quot;web servicesquot; are, take a look at this PDF. The guys from Apache did a good job explaining it in a short and simple manner. Web services are based on XML (eXtensible Markup Language), SOAP (Simple Object Access Protocol) and WSDL (Web Services Description Language). The latter two were developed in a joint effort by Sun, Oracle, HP, Microsoft, and IBM. Web services are quot;next generation.quot; The general technology has been around for a while, but it's now maturing (similar to AJAX). Things come together and fall into the right place to really exploit the technology's advantages in an easy-to-use and reliable environment. 2. WEB SERVICES DEVELOPMENT Visit CJ's (Commission Junction Affiliate Network) webservices.cj.com for their new Web Service including Documentations and Sample Source Codes. Also CJ's old quot;Getting started Guidequot; for the Web Services beta includes references and resources for PHP/Linux developers. Here is a link to an excerpt from a Wrox book about open source web services using NuSOAP and PHP (PDF ). You can also just search for quot;NuSOAP PHP WSDLquot; at your favorite search engine to get a good list of sites about it. On the latest Microsoft platform, it is even easier. Web services are fully integrated into the current version of the .NET Framework 2.0. The MS Visual Studio 2005 Development Environment (ASP.NET, VB.NET, C#.NET, etc.), which is used by Windows developers, makes it really easy to work with web services. The new MS SQL Server 2005 also has built-in web service support to allow: easy publication of data via web service; receipt of data; or going the whole nine yards with interactive and bidirectional Page 1 of 4
  • 2. XML Data Feeds and Web Services for Affiliates by Carsten communication - for an API, for example. Microsoft released its new software mentioned above at the end of last year. If you use older technology like MS SQL Server 2000, VB6, older .NET Frameworks, etc., you need to install and use the SOAP Toolkit for Windows, which you can download here. XML data are today mainly processed pretty quot;rawquot; via applications using tools that are based on the DOM Object Model. Today, the necessary components are included with operating systems and/or browsers so as to be a non-issue when it comes to widespread application. The whole RSS, ATOM, BLOG, AJAX usage is based on that. Developers need to quot;mess aroundquot; way too much with the basics (raw XML) using that technology. Because XML allows you to do a lot of things and can become quite complicated, many things can go wrong during the send-and-receive process on either end. That's why RSS and ATOM Standards have been established. Those are, in essence, nothing more than XML files that have a very specific definition of structure. It's not flexible, though, and such inflexibility makes it hard to overcome problems. A good example is product data feeds. The information in a (generally useful) product feed goes beyond the definitions of RSS (2.0). Google Base was working around the problem by quot;extendingquot; RSS and thus created a proprietary format, and we are back to square one. Web services using SOAP (Simple Object Access Protocol) and WSDL (Web Services Description Language) solve that problem. 3. APPLICATION AND USE OF WEB SERVICES At this time, there is not really any quot;genericquot; plug-and-play tools for affiliate marketing available using web services, but that will change quickly, as web services are more and more commonly used. Web services will not make old-fashioned data feeds in the form of delimited (and maybe zipped) files obsolete. If you have a lot of products and the affiliate requires having all the products in its database for special processing, a web service is probably not such a good idea. However, the question is, quot;Do I need all the product data in my database for what I am doing with the data?quot; That's a question that can be answered quot;Noquot; in most cases. If I just want to have a little storefront or need the list of all your quot;widgets,'quot; collectibles, or your price for a specific UPC for price comparison, I don't have to have all of the data in my database. If I can make a request, in real time, to your site/servers and get the data I need, when I need it, the process will work fine. It's even better if I can get the information directly and in real time, because it is up to date. You can tell me availability, the current price (no more outdated prices on my site), etc. You see where this is going and I believe that you are going to like it! Page 2 of 4
  • 3. XML Data Feeds and Web Services for Affiliates by Carsten 4. OLD-FASHIONED DATA FEEDS When it comes to quot;old-fashionedquot; file feeds, I prefer to work with delimited files. There are fewer errors possible, the file is smaller, and most quot;classicquot; applications and tools (Excel, MS SQL Server 2000, etc.) can work with it. XML files make sense only if you use the data to specify variations of the same product - variations that are virtually the same with only minor differences, such as different sizes and colors for clothes. It is a bit tricky with delimited (two-dimensional) feeds to handle those differences. Option 1: Use delimited data within a single record (using a different delimiter than for the general feed) e.g., the quot;Tabquot; delimited data feed has a column quot;colorsquot; which contains a comma delimited list of all available colors for the product. That gets complicated when you have combinations of properties like size and color when not all combinations are available, or when other things change for certain combinations - like price or shipping cost. Option 2: For every unique variation of the product, send a complete product record in the feed. The disadvantage here is that it looks horrible on the affiliate site if there are no means provided to quot;groupquot; the variations under a quot;masterquot; SKU and avoid the seemingly duplicate items in the product listings. See a practical example. XML feeds can also have more data for a simple record. The limitations for delimited files vary from platform to platform, but I think that in our business it does not really matter. I have not seen a product feed with too much product information. It is usually the other way around. I recommend taking a look at my article Merchant Product Data feeds for Affiliates 101 to learn more about data feeds. I also suggest that you visit my Affiliate Data feeds and Web Services Resources Page. There are places where you are better off with XML, but honestly, I have not seen a merchant who: A) generates XML data feeds because of that reason; and b) does it properly. I believe (but can't prove) that most merchants today are providing XML feeds mainly so they can say that they have an XML feed (that is, using a buzzword, being trendy, modern, touting the latest technology). FORGET ABOUT CSV WHEN IT COMES TO DATA FEEDS I am searching for the person who can show me the benefits of a two-dimensional (Excel Sheet Style) FILE based product data feed over a delimited one. I agree that quot;comma delimitedquot; is probably not the best choice for a product data feed, but that is because of the nature of the data in the feed. A comma in the product description can blow your whole feed if not treated properly on your side and mine. Page 3 of 4
  • 4. XML Data Feeds and Web Services for Affiliates by Carsten That's the reason I believe TAB or PIPE (|) delimited feeds are the best solution. quot;TABquot; is a character which has no use on the web anyway (there is no TAB in HTML) and PIPE is a character which I have not seen yet as valid character in product content. 5. SOURCES OF BACKGROUND INFORMATION AND RESOURCES Sources of Background Information XML Specification at W3C - XML stands for eXtensible Markup Language DOM Specifications at W3C - DOM stand for Document Object Model SOAP Specifications at W3C - SOAP stands for Simple Object Access Protocol WSDL 1.1 Specifications at W3C - WSDL stands for Web Services Description Language AJAX stands for Asynchronous JavaScript and XML and is nothing new; it was previously known as quot;remote scripting.quot; Microsoft's Remote Scripting (or MSRS) was introduced in 1998. The term 'Ajax' was coined on 2/18/2005 by Jesse James Garrett from Adaptive Path. To make it easy to find public web services, IBM, Microsoft, and Ariba started the Universal Description, Discovery and Integration (UDDI) project. See details at the project's official website. The passport authentication system is one of the web services in Microsoft's .NET initiative, and is available without charge at the moment, so developers can use passport authentication within their own sites. RSS-Extensions from Google (used for Google Base, for example), Microsoft and Buy.com Microsoft's Simple Sharing Extensions for RSS and OPML Google Data APIs Protocol (GData) Buy.com RSS 2.0 Product Module Definition Version 1.0 Also interesting: Web Services article at AListApart.com. Additional Information and Resources APIs and Web Services Resources - Website Development, APIs and Web Services Resources, Tools and Articles XML For Everyone - SQL Server Standard Magazine (e-Magazine and Print), 09/2006 Issue Webservices.XML.com - Articles and News dedicated exclusively to Web Services. quot;Web servicesquot; at XML.com - Keyword Search Results Listing Reminder: Make sure to check out my popular article about Data feeds for Affiliates 101 and my Affiliate Data feeds and Web Services Resources Page as well. Carsten Cumbrowski Page 4 of 4