473,670 Members | 2,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

rss feed question

Is there a way to limit the number of rss item rendered by the script.

For example the MSDN feed has over 30 items (posts). I would like my
script to render only 10 items.
http://msdn.microsoft.com/rss.xml

<asp:DataGrid runat="server" PageSize="12" AllowPaging="Tr ue">

I tried this but it didn't work.

Aaron
Nov 15 '05 #1
2 1533
Aaron,

You would have to limit the number of records yourself. You will have
to remove the items from the data set/grid manually. As far as I know, MSDN
doesn't have a way in the RSS feed to limit the number of records retrieved.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Aaron" <ku*****@yahoo. com> wrote in message
news:b4******** *************** ***@posting.goo gle.com...
Is there a way to limit the number of rss item rendered by the script.

For example the MSDN feed has over 30 items (posts). I would like my
script to render only 10 items.
http://msdn.microsoft.com/rss.xml

<asp:DataGrid runat="server" PageSize="12" AllowPaging="Tr ue">

I tried this but it didn't work.

Aaron

Nov 15 '05 #2
how can i manually remove the items?

----------
Aaron,

You would have to limit the number of records yourself. You will have
to remove the items from the data set/grid manually. As far as I know, MSDN
doesn't have a way in the RSS feed to limit the number of records retrieved.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Aaron" <ku*****@yahoo. com> wrote in message
news:b4******** *************** ***@posting.goo gle.com...
Is there a way to limit the number of rss item rendered by the script.

For example the MSDN feed has over 30 items (posts). I would like my
script to render only 10 items.
http://msdn.microsoft.com/rss.xml

<asp:DataGrid runat="server" PageSize="12" AllowPaging="Tr ue">

I tried this but it didn't work.

Aaron

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1330
by: Kraft Bernhard | last post by:
Hallo list, I don't know if this is a apropriate Newsgroup for this thread but I found it via google and there are already some RSS question in here so I'm just asking: I have written a RSS Feed which fetches the list of new Extensions for the CMS Typo3 (www.typo3.org) and stores them in a database. Whenever somebody requests the RSS Feed the Feed XML is generated out of the database.
0
1138
by: Julian | last post by:
I have written a CGI program which takes an RSS feed and turns it into HTML. I'm using it to display the latest headlines from the BBC News website. The question is, what order should I display the items in? In the raw XML feed, the items are not in chronological order. I can sort the items into pubDate order, but then I notice the items are not shown in the same order as on the BBC website. What is the correct logic for determining...
0
1560
by: matpublic | last post by:
Hello, I am having some issues printing to a dot matrix printer. The printer in question is a Lexmark form printer, loaded with fan fold paper using the tractor feed. The paper itself is a custom size. I've added a custom size form and set this to be the default form size for the printer, I've also set the tractor feed to be default (rather than manual page feed).
4
4227
by: Florian Lindner | last post by:
Hello, I'm looking for python RSS feed parser library. Feedparser http://feedparser.org/ does not seem to maintained anymore. What alternatives are recommendable? Thanks, Florian
8
1831
by: i3dmaster | last post by:
I have a sample Atom feed like this: <?xml version='1.0' encoding='utf-8'?> <feed xmlns='http://www.w3.org/2005/Atom' xmlns:foo='http:// app.example.com/app/2007'> <id>http://app.example.com/fjie4id939xdl3io23</id> <title type='text'>foo</title> <author> <name>bar</name> <email>foo@foo.com</email>
1
1647
by: paul.hester | last post by:
Hi all, I work for a classified-type site and am planning on having an RSS feed for each category. I understand the basics of RSS, but I can't decide how often to update each RSS feed. Each category will probably have several new listings every hour. What's generally the recommended update frequency for an RSS feed? Also, in each update, do you exclude content that was in previous feeds, or do you leave it up to the reader to sort out...
8
1893
by: eastcoastguyz | last post by:
I'm very new to RSS. I was given a URL that starts with "feed:". I want to be able to open this and read in its content into a PHP program to produce a report. I'm not interested in converting it to HTML. Question: Is a URL that starts with feed: output XML? Question: How do I open a feed: URL in PHP and parse it? Thanks!
1
10744
by: rengaraj | last post by:
Dear Experts, I am new to XML I want to create an Interview Questions Bank (Intra Net) for our institution. I preferred to store the Question & Answer in xml sheet. But if i vew the xml in internet explorer, the complete contents of each tag displayed as an individual paragraph. I want to insert an line feed character into the tag. Displayed as : <answer>XML stands for EXtensible Markup Language.XML was designed to transport and store...
4
1947
by: Blake Garner | last post by:
I'm looking for suggestions on how to approach generating rss feed ..xml files using python. What modules to people recommend I start with? Thanks! Blake
7
4304
by: chromis | last post by:
Hi, I've created a utf8 encoded RSS feed which presents news data drawn from a database. I've set all aspects of my database to utf8 and also saved the text which i have put into the database as utf8 by pasting it into notepad and saving as utf8. So everything should be encoded in utf8 when the RSS feed is presented to the browser, however I am still getting the wierd question mark characters for pound signs :( Here is my RSS feed code...
0
8466
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8384
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8901
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8813
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8591
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8659
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7412
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6212
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
1791
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.