Click here to Skip to main content
15,908,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show some content of home page of starfleetyachts.wordpress.com
website to own aspx page . Is it possible through c#.
Posted

1 solution

Why do you start a new question when you already have the same question here:

http://www.codeproject.com/Questions/83578/Can-I-create-rss-feed-of-any-running-website.aspx[^]

???
 
Share this answer
 
Comments
nid4may 25-May-10 9:35am    
no its different...
please check....
Johnny J. 25-May-10 9:40am    
Well, the answer is almost the same: You can't. The only possibilities are framing in the whole page or fetching and parsing the html of the page (which might or might not work). Apart from that, it's for 99% sure not legal for you to present the contents of some other site on your site without their permission.
nid4may 27-May-10 2:11am    
thanks for reply
If site giving the permission then is it possible..
please reply
Johnny J. 27-May-10 2:47am    
I did already answer it, but I guess you got hung up on the permissions bit. As I see it you have these options:

1) Frame in the whole site (but I guess that's not what you want)
2) From your other post: YOU cannot create a RSS feed of the site in question, but the owner of the site could. So if he's willing to work with you then he might do that. Then you could show HIS RSS feed on your site.
3) Use HttpWebRequest to fetch the html of the site in question, parse that to extract the parts you want/need, reformat them to your site if necessary, render them in the appropriate position on your site

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900