I am designing a website where users can get the stock quotes. Here I will take datas from one website and display it on my site. If any changes occur, it has to be reflected in my site.How this can be done, please guide me.
You will have to frequently poll this external site for changes. You can save the extract, eg. in a database and from here, show to the user.
Be aware to get the authorization from that page's owner to copy the content.
Hi. Although I am not pro in this, you can always try Google the term "mashup" for solution.
like
http://en.wikipedia.org/wiki/Mashup_%28web_application_hybrid%29
Basically there are ways to "grab" the contents from other sources (your target site) and integrate it into yours.
Besides, if the source site is so kind as to provide a public WebService for the info about stocks, you can happily use it directly.
yet another way is: use screen scraping tools to grab those that are dynamically generated. For instance, you cannot ctrl+U and see the search results from Google directly.
Because I am not sure about your situation, I really cannot go any further.
a few ideas i would like u to suggest--->
1> use asp its best and set a master page thats permanent and keep on refreshing the parasite page.
2> if u like to use general html then the best way is to use an iframe.that too will refresh after a certain time period..
have u ever seen in community sites that they keep on refreshing after a period of time...since u dont have ur program on source side so better wil be opting for time to time query...
if u still have problem, write a comment i will give u the further asistance.
I think your problem will be solved approximately by setting refresh duration between your webpage and database. Perhaps you need to study "pull-based web application framework" such as JBoss Seam or Struts2, it may help you on this situation. Best regards,