About/Contact

Steve Trefethen

Steve Trefethen is a Director of Engineering at Reply. Contact me

View my LinkedIn profile


Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!


Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.



How to display more than 10 RSS entries on the Delphi 2005 Welcome page

December 01 2004 8:55PM

By default the Javascript code that processes the RSS feeds on the Welcome page limit the number of entries displayed to ten.  Ten was simply a nice round number and is, unfortunately, a hardcoded value.  However, since the Javascript source code is readily available from the Welcome page directory of your Delphi 2005 installation you can easily change this number to whatever value you want.  To do that simply follow these steps:

  1. From Windows Explorer locate the Welcome page folder under your Delphi 2005 installaction folder.
  2. Select the Welcome page folder and then select the sub-folder called “js“
  3. Open the file called rss.js using the IDE (thus getting syntax highlighting) and search for “limit to 10“ and you should see the following:
// limit to 10 entries displayed on welcome page
if (maxItems > 10)

Simply change “10” (in the code portion of course :) to the number of items you'd like to be able to see.

Enjoy!

FacebookDel.icio.usDigg It!

Tags:

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading