INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

RSS Atom feed pagination

RSS Atom feed pagination

(OP)
hi guys,

i have been using this Rss2html script: http://bytescout.com/?q=/products/developer/rss2ht... and this is working fine but what i want is to also have a pagination on this .asp page. can you advice of ways to achieve this?

below is the atom sample:

CODE

<?xml version="1.0" encoding="utf-8" ?> 
 <feed xmlns:s="http://feed.example.com/services" xmlns="http://www.w3.org/2005/Atom">
  <title type="text">org select - with 'Bush' in name</title> 
  <id>http://feed.example.com/orga/srvic/name/Bush</id> 
  <rights type="text">Copyright 2015</rights> 
  <updated>2010-05-09</updated> 
  <category term="Search" /> 
  <logo>http://www.org.uk/orgcservices/docs/logo.jpg</logo> 
 <author>
  <name>org select</name> 
  <uri>http://www.sampleorg.uk</uri> 
  <email>wbsrvcs@example.com</email> 
  </author>

  <link rel="self" type="application/atom+xml" title="org select - Practices with 'Bush' in name" href="http://feed.example.com/organisations/services/name/Bush?apikey=12345" /> 
  <link rel="first" type="application/atom+xml" title="first" length="1000" href="http://feed.example.com/organisations/services/name/Bush?apikey=12345&page=1" /> 
  <link rel="next" type="application/atom+xml" title="next" length="1000" href="http://feed.example.com/organisations/services/name/Bush?apikey=12345&page=2" /> 
  <link rel="last" type="application/atom+xml" title="last" length="1000" href="http://feed.example.com/organisations/services/name/Bush?apikey=12345&page=9" />
 
  <tracking xmlns="http://feed.example.com/services"><img style="border: 0; width: 1px; height: 1px;" alt="" src="http://webtrendsample.com/dfgfgh56dgd5/ddds.gif?fffuri=/organisations%2fservices%2fname%2fBush&wt.js=no&wt.cg_n=feed"/></tracking> 
 <entry>
  <id>http://feed.example.com/organisations/services/245645634</id> 
  <title type="text">Bush Tree House</title> 
  <updated>2015-05-12T08:08:08Z</updated> 
  <link rel="self" title="Bush Tree House Surgery" href="http://feed.example.com/organisations/services/24308?apikey=12345" /> 
  <link rel="alternate" title="Bush Tree House Surgery" href="http://www.org.uk/Srvcs/DR/Default.aspx?id=34343434" /> 
 <content type="application/xml">
 <s:organisationSummary>
  <s:name>Bush Tree House</s:name> 
  <s:odsCode>JD12345</s:odsCode> 
 <s:address>
  <s:addressLine>Bush Tree House</s:addressLine> 
  <s:addressLine>John Street</s:addressLine> 
  <s:addressLine>Lirkam</s:addressLine> 
  <s:addressLine>Stockion</s:addressLine> 
  <s:postcode>DWQ4 22GW</s:postcode> 
  </s:address>
 <s:contact type="General">
  <s:telephone>111 2223333444</s:telephone> 
  </s:contact>
  </s:organisationSummary>
  </content>
  </entry>

 <entry>
.
.
.
. 

RE: RSS Atom feed pagination

Set a variable to the number of items to display then each time your display loop reaches that number, output a link with the start of the next block of items.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: RSS Atom feed pagination

(OP)
hi chris, is it ok if you could give me some sample codes please? i don't know where to start. thanks.

(by the way, the red-colored bit in the above code is the pagination bit which i don't have a clue how to implement.)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close