Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Tell Web Browsers That Your Web Pages Have Atom Feeds
How To Tell Web Browsers That Your Web Pages Have Atom Feeds? - RSS FAQs - Atom Feed Introduction and File Generation
✍: FYIcenter.com
One way to tell Web browsers that your Web pages have Atom Feed files is to add a "link" tag in the header section of your Web pages. The "link" tag defines a "link" element with 4 attributes:
The following Web page contains a "link" tag good example that associate an Atom feed to this page:
<html><head>
<title>Webmaster FYI Center</title>
<link rel="alternate" type="application/atom+xml"
href="/atom.xml" title="Atom feed for FAQ pages">
</head><body>
<p>Definitions of Webmaster on the Web:</p>
<li>The person responsible for maintaining and
updating a Web site.</li>
<li>The administrator, maintainer and/or creater
of a web site.<li>
<li>The person who lays out the information trees,
designs the look, codes HTML pages, handles editing
and additions and checks that links are intact.</li>
<li>...</li>
</ul>
</body></html>
You need to name this file as "webmaster.html" and uploaded it to your Web site. You also need to upload the "atom.xml" created in previous tutorials. Now smart Web browsers should be able to know that "webmaster.html" has an Atom feed named as "atom.xml".
2007-05-12, 5747👍, 0💬
Popular Posts:
How To Retrieve Input Values for Checkboxes Properly? - PHP Script Tips - Processing Web Forms If mu...
What is the difference between "calloc(...)" and "malloc(...)"? 1. calloc(...) allocates a block of ...
Can static variables be declared in a header file? You can't declare a static variable without defin...
How To Set session.gc_maxlifetime Properly? - PHP Script Tips - Understanding and Using Sessions As ...
How do we assign page specific attributes ? Page attributes are specified using the @Page directive.