All source code in ASP/ VbScript Ask a ASP/ VbScript Pro Discussion Forum Categories All jobs in ASP/ VbScript
RSS,ASP,XML,W3C,News,feed,grabberThis,applica
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 287,569. lines
 Jobs: 118. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login


 

 


Latest postings for ASP/ VbScript.
A simpla ASP Login & Logout Page of E-commerce website for Registred Users
By SJPVTLTD.COM on 2/2


A simplem ASP Login Page for Registered User
By SJPVTLTD.COM on 2/2


Click here to see a screenshot of this code!The Real Estate - Search Engine
By Talal Hussain Al-Balushi on 2/1

(Screen Shot)

A simple ASP Registeration Page for E-commerce Website
By Tejas Jayantilal Gandhi on 1/28


A simple ASP Forgot Password page for E-commerce Website
By Tejas Jayantilal Gandhi on 1/28


Simple ASP inquiry form for a simple or e-commerce website
By Tejas Jayantilal Gandhi on 1/28


A Simple ASP Change of Password Page for E-commerce Website
By Tejas Jayantilal Gandhi on 1/28


A simple ASP Login Page
By Tejas Jayantilal Gandhi on 1/27


Free ASP Shopping Cart Software for Small Business
By Tejas Jayantilal Gandhi on 1/27


ASP Daily Hit Counter
By Tejas Jayantilal Gandhi on 1/27


AS400 Connection
By Talal Hussain Al-Balushi on 1/26


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

NewsFeed

Print
Email
 
winzip icon
Submitted on: 11/13/2005 2:20:50 AM
By: Jaidev V.  
Level: Intermediate
User Rating: By 7 Users
Compatibility:ASP (Active Server Pages)

Users have accessed this code 74015 times.
 
(About the author)
 
     *Updated*NewsFeed is an RSS News feed grabber. This ASP application will grab RSS and XML feeds and will display them on your website. RSS is a great way of providing up to date data on your site, including News, Entertainment or Blogs. NewsFeed will display any RSS/XML feed that complies with W3C Regulations (www.w3c.org). Newsfeed now incorporates better compatibility (and error handling), and a cache. Enjoy! Update: 12-Nov-05 - I have finally gotten around to updating this archive with a slightly modified version of the code which removes the "Switch from current encoding to specified encoding not supported" error. Hopefully this helps, Jaidev V.
 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

    '**************************************
    ' for :NewsFeed
    '**************************************
    (c) Jaidev Vasudevan 2004-5
    Feel free To modify this example any way you like.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/29/2004 4:01:12 AM

Hi, I hope you like this submission. If you do, please rate it!
(If this comment was disrespectful, please report it.)

 
7/8/2004 5:28:13 AM

Hi,
I have been trying your application but I seem to have trouble with some feeds. I can't get it to work with any of the bbc.co.uk news feeds, I just get a blank screen. I also have a Greek news feed that displays in the viewer as garbled characters, but when clicking the links for the various headings the news appears fine in the Greek alphabet. _ how do you configure your viewer to see the greek alphabet?

Other wise I am pleased with it. Well done.
(If this comment was disrespectful, please report it.)

 
7/26/2004 7:40:30 AMJaidev Vasudevan

Hi, and thanks for your comments. I have recieved a few other emails relating to the BBC feeds being unavaiable, and after a bit of debugging, I think it is because the Encoding type is not specified for the BBC feeds. Hopefully my next update should fix this (I'll arbitrarily add an encoding tag where neccesary), and I'll add some form of cache too...
(If this comment was disrespectful, please report it.)

 
9/13/2004 5:01:47 PM

Hi,

Get an error when trying to display the newsfeeds on default.asp.

error '80004005'
Unspecified error

/rss/default.asp, line 18

Can you help out?
Thanks
(If this comment was disrespectful, please report it.)

 
10/20/2004 6:13:13 AMJaidev V.

Hi! I have updated Newsfeed, and it is now has much better compatibility (works with every site I tested), and includes a cache so that the RSS feed is only checked after a specified time period (decreasing page load time and network traffic). Hope you like it and feel free to post any comments.
Jaidev V.
(If this comment was disrespectful, please report it.)

 
1/1/2005 3:16:53 PM

Hi,

For some reason the app gives errors on following RSS feed. Any ideas what might cause that?

Otherwise the app looks nice!

Cheers,

Simo


**

http://www.yle.fi/etusivu/rss/maakunta.php?id= 15


**
XML Parse Error:
File Position: 44
Line: 1
Line Position: 45
Reason: Switch from current encoding to specified encoding not supported.
Text: Line:
ErrorCode: -1072896657
URL:
***
(If this comment was disrespectful, please report it.)

 
4/4/2005 1:01:17 PMEric

Works perfect, Thankx!
(If this comment was disrespectful, please report it.)

 
4/12/2005 9:18:54 AM

Love your app, but i seem to have som problems with danish feeds. Like this http://www.computerworld.dk/rss.asp and this http://rss.asdf.dk/dr.rss many more all gave me this error XML Parse Error:
File Position: 43
Line: 1
Line Position: 44
Reason: Switch from current encoding to specified encoding not supported.
Text: Line:
ErrorCode: -1072896657
A quick search in google all came back with some info that the problem could be somthing to do with Unicode or UTF-8
/ UTF-16.
Any idea how to fix this?.

And fo my last words. Can it be done to choose to only show 5 newest topics insted of some give me 15-20 topics, the reson why i would like to have RSS feeds om my Active Desktop and if i chose more than 2-3 feeds it will be to big a size to fit in my desktop.

Regards
Trixster

(If this comment was disrespectful, please report it.)

 
5/9/2005 8:56:25 AMJaidev V.

Hi!. I think I have a fix for those
(If this comment was disrespectful, please report it.)

 
6/16/2005 2:29:47 AMastralis

Do you know of a method of easily checking these sites and placing the ones that are updated on the front page so the user can see which weblogs were updated?
(If this comment was disrespectful, please report it.)

 
7/28/2005 11:19:00 AMthewebanalyst

Would you have a fix for this problem?Can you post it online so that we can all see it? Thanks!

I am getting the error below when I try to load http://www.channelregister.co.uk/excerpts.rss

>
> XML Parse Error:
> File Position: 38
> Line: 1
> Line Position: 39
> Reason: Switch from current encoding to specified encoding not
supported.
> Text: Line:
> ErrorCode: -1072896657
> URL:
>

(If this comment was disrespectful, please report it.)

 
9/2/2005 7:51:37 AMolivier

works very well; sparse design also well suited for access with mobile devices like e.g. Opera for Mobiles.
Only one newsfeed (http://www.dpreview.com/news/dpr.rdf) out of 30 did not work. Maybe the developer brings out a newer version?
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.