 |
 |
 |
 |
| |
RSS Feeds Form
Copy URL ที่แสดง RSS มาวางไว้ในช่องว่าง
แล้วกดปุ่ม OK
|
|
http://www.xml-rss.com
|
|
|
|
Action research, article of faith, xe currency.
RSS Tracking is a methodology for tracking RSS feeds.RSS feeds have been around since 1999 as a form of internet marketing, however unlike other forms of publishing information on the internet, it is difficult to track the usage of RSS feeds. Feed tracking methods have been growing in popularityThere are currently many methods of tracking RSS feeds, all with their own problems in terms of accuracy.
Method 1 Action research, article of faith, xe currency.
Transparent 1x1 pixel images - These images can be embedded within the content of the RSS feed by linking to the image which should be held on the web server. The number of requests made can be measured by using the web server log files. This will give a rough estimate as to how many times the RSS feed has been viewed.
The problem with this method is that not all RSS feed aggregators will display images and parse HTML.
Method 2 Action research, article of faith, xe currency.
3rd Party services - There are services available on the internet that will syndicate your RSS feed and then track all requests made to their syndication of your RSS feed. These services come free and paid forms.
The problem with this method is that all analytical data about the feeds are controlled by the service provider and so not easily accessible or transferable.
Method 3 Action research, article of faith, xe currency.
Unique URL per feed - This method requires heavy web server programming to auto generate a different RSS feed URL for each visitor to the website. The visitor's RSS feed activity can then be tracked accurately using standard web analytics applications.
The problem with this method is that if the feed is syndicated by a search engine for instance then this will defeat the purpose of the unique URLs as many people could potentially view the RSS feed via a single URL. Action research, article of faith, xe currency.
The name Atom applies to a pair of related standards. The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol (APP for short) is a simple HTTP-based protocol for creating and updating Web resources.
Web feeds allow software programs to check for updates published on a web site. To provide a web feed, a site owner may use specialized software (such as a content management system) that publishes a list (or "feed") of recent articles or content in a standardized, machine-readable format. The feed can then be downloaded by web sites that syndicate content from the feed, or by feed reader programs that allow Internet users to subscribe to feeds and view their content.
A feed contains entries, which may be headlines, full-text articles, excerpts, summaries, and/or links to content on a web site, along with various metadata.
The development of Atom was motivated by the existence of many incompatible versions of the RSS syndication format, all of which had shortcomings, and the poor interoperability [1] of XML-RPC-based publishing protocols. The Atom syndication format was published as an IETF "proposed standard" in RFC 4287. The Atom Publishing Protocol is still in draft form.
Web feeds are used by the weblog community to share the latest entries' headlines or their full text, and even attached multimedia files. (See podcasting, vodcasting, broadcasting, screencasting, Vloging, and MP3 blogs.) These providers allow other websites to incorporate the weblog's "syndicated" headline or headline-and-short-summary feeds under various usage agreements. Atom and other web syndication formats are now used for many purposes, including journalism, marketing, bug-reports, or any other activity involving periodic updates or publications. Atom also provides a standardized way to export an entire blog, or parts of it, for backup or for importing into other blogging systems.
A program known as a feed reader or aggregator can check webpages on behalf of a user and display any updated articles that it finds. It is common to find web feeds on major Web sites, as well as many smaller ones. Some websites let people choose between RSS or Atom formatted web feeds; others offer only RSS or only Atom. In particular, many blog and wiki sites offer their web feeds in the Atom format.
Client-side readers and aggregators may be designed as standalone programs or as extensions to existing programs like web browsers. Browsers are moving toward integrated feed reader functions, such as Safari RSS, Web Browser for S60, Opera, Firefox and Internet Explorer. Such programs are available for various operating systems.
Web-based feed readers and news aggregators require no software installation and make the user's "feeds" available on any computer with Web access. Some aggregators syndicate (combine) web feeds into new feeds, e.g., taking all football related items from several sports feeds and providing a new football feed. There are also search engines for content published via web feeds, including Technorati and Blogdigger.
On Web pages, web feeds (Atom or RSS) are typically linked with the word "Subscribe" or with the unofficial web feed logo
The main motivation for the development of Atom was dissatisfaction with RSS [2]. Among other things, there are multiple incompatible and widely adopted versions of RSS. The intention was to ease the difficulty of developing applications with web syndication feeds.
A brief description of the ways Atom 1.0 seeks to differentiate itself from RSS 2.0 follows [3], [4]: Action research, article of faith, xe currency.
RSS 2.0 may contain either plain text or escaped HTML as a payload, with no way to indicate which of the two is provided. Atom in contrast uses an explicitly labeled (i.e. typed) "entry" (payload) container. It allows for a wider variety of payload types including plain text, escaped HTML, XHTML, XML, Base64-encoded binary, and references to external content such as documents, video and audio streams, and so forth.
RSS 2.0 has a "description" element which can contain either a full entry or just a description. Atom has separate summary and content elements. Atom thus allows the inclusion of non-textual content that can be described by the summary.
Atom is defined within an XML namespace whereas RSS 2.0 is not.
Atom specifies use of the XML's built-in xml:base for relative URIs. RSS 2.0 does not have a means of differentiating between relative and non-relative URIs.
Atom uses XML's built-in xml:lang attribute as opposed to RSS 2.0's use of its own "language" element.
In Atom, it is mandatory that each entry have a globally unique ID, which is important for reliable updating of entries.
Atom 1.0 allows standalone Atom Entry documents whereas with RSS 2.0 only full feed documents are supported.
Atom specifies that dates be in the format described in RFC 3339 (which is a subset of ISO 8601). The date format in RSS 2.0 was underspecified and has led to many different formats being used.
Atom 1.0 has IANA-registered MIME-type. RSS 2.0 feeds are often sent as application/rss+xml, although it is not a registered MIME-type.
Atom 1.0 includes an XML schema. RSS 2.0 does not.
Atom is an open and evolvable standard developed through the IETF standardization process. RSS 2.0 is not standardized by any standards body. Furthermore according to its copyright it may not be modified.
Atom 1.0 elements can be used as extensions to other XML vocabularies, including RSS 2.0 as illustrated in a weblog post by Tim Bray entitled "Atomic RSS".
Atom 1.0 describes how feeds and entries may be digitally signed using the XML Digital Signature specification such that entries can be copied across multiple Feed Documents without breaking the signature.
Despite the emergence of Atom as an IETF Proposed Standard and the decision by major companies such as Google to embrace Atom, use of the older and more widely known RSS 1.0 and RSS 2.0 formats has continued.
Many sites choose to publish their feeds in only a single format. For example CNN, the New York Times, and the BBC offer their web feeds only in RSS 2.0 format.
News articles about web syndication feeds have increasingly used the term "RSS" to refer generically to any of the several variants of the RSS format such as RSS 2.0 and RSS 1.0 as well as the Atom format. (For example, "There's a Popular New Code for Deals: RSS" (NYT January 29, 2006))
RSS 2.0 support for enclosures led directly to the development of podcasting. While many podcasting applications, such as iTunes, support the use of Atom 1.0, RSS 2.0 remains the preferred format [5].
Each of the various web syndication feed formats has attracted large groups of supporters who remain satisfied by the specification and capabilities of their respective formats.
Before the creation of Atom the primary method of web content syndication was the RSS family of formats.
Members of the community who felt there were significant deficiencies with this family of formats were unable to make changes directly to RSS 2.0 because it was not an open standard. RSS 2.0 was copyrighted by Harvard University and in the official specification document it stated that it was purposely frozen: "no significant changes can be made and it is intended that future work be done under a different name".
Web syndication is a form of syndication in which a section of a website is made available for other sites to use. This could be simply by licensing the content so that other people can use it; however, in general, web syndication refers to making web feeds available from a site in order to provide other people with a summary of the website's recently added content (for example, the latest news or forum posts).
Large scale web syndication of content started in 2001 when Miniclip freely syndicated online browser based interactive games to the masses. Today many different types of content are syndicated on the Internet. Millions of online publishers including newspapers, commercial web sites and blogs now publish their latest news headlines, product offers or blog postings in standard format news feed.
Syndication benefits both the websites providing information and the websites displaying it. For the receiving site, content syndication is an effective way of adding greater depth and immediacy of information to its pages, making it more attractive to users. For the transmitting site, syndication drives exposure across numerous online platforms. This generates new traffic for the transmitting site making syndication a free and easy form of advertisement.
The prevalence of web syndication is also of note to online marketers, since web surfers are becoming increasingly wary of providing personal information for marketing materials (such as signing up for a newsletter) and expect the ability to subscribe to a feed instead.
Although the format could be anything transported over HTTP, such as HTML or JavaScript, it is more commonly XML. The two main families of web syndication formats are RSS and Atom.
Creating a Custom RSS Feed with PHP and MySQL
By Kris Hadlock Action research, article of faith, xe currency.
RSS has become the standard technology for syndicating information to large audiences. Many people have something to say, but its finding the right audience for your voice that matters. A great place to start is by creating your own RSS feed and adding to it as often as you can.
In this article you'll learn how to syndicate your own custom RSS feeds using PHP and MySQL. We'll first learn how to create two database tables and then how to retrieve data from them which will be formatted into an RSS feed. Here's an example of the completed RSS feed and a download link to the code. Let's start by taking a look at how to create the MySQL database tables.
Creating the MySQL RSS Tables Action research, article of faith, xe currency.
An RSS feed consists of the main details for the feed, such as the title, description, url, image and so on. Next are the items, probably the most important parts of the feed. i.e. Different stories from a newspaper, posts from a blog and so on. Therefore, we will create two database tables, the first is called webref_rss_details, which contains the details for the feed and the second is called webref_rss_items, which contains all of the items. If you would like to get a better idea of the RSS structure you can take a look at The Anatomy of an RSS Feed, which is a previous article I wrote on the basics of the RSS structure.
In order to get started with the database tables, use the following code, which can be found in the webref_rss_details.sql file, to create the webref_rss_details table: Action research, article of faith, xe currency.
Our first table, webref_rss_details, contains 10 columns, which are the id, title, description, link, language, image_title, image_url, image_link, image_width and image_height. Each of these columns are self-explainatory once you are familiar with the structure of an RSS feed, the non-rss related column is the id, which is used to represent the id for the row of data in the database. The second table, webref_rss_items, contains 4 columns, which include the id, title, description and link. In the example I'm linking to the home page of the current Web site, but this url would typically link to the location of the original text, such as a specific blog page where an entry has been posted. Now that we officially have the MySQL tables created, add the data that you want to syndicate, then proceed to the next section and take a look at how to construct a valid RSS 2.0 feed with PHP. Action research, article of faith, xe currency.
Creating a valid RSS 2.0 feed with PHP Action research, article of faith, xe currency.
Once the database tables are in place we'll create three PHP files. The first is called index.php, which belongs in the root of our site directory, the second RSS.class.php, which belongs in a directory called classes and the third mysql_connet.php, which should be placed in a directory that is inaccessible to the outside world. For the purposes of this article I placed the sample file in the same directory as the RSS class. In the index.php file, start by adding a header that will configure the content type of the document as valid XML and choose the charset that you need. Next include the RSS class, instantiate the object and trigger a method called GetFeed. The GetFeed method will return the actual RSS feed once it has been constructed in the class, so perform an echo on the return value to write the data to the index file. Action research, article of faith, xe currency.
|
|