Solved

want to show the share price of each company in my drupal stock market site

Posted on 2009-07-07
8
762 Views
Last Modified: 2012-06-21
i have a site in drupal which is related to stock market. i am showing the companies list on the front end. now i want to show the share price of that company on the above of each company which should get updated  every time like yahoo does.

http://www.futureofstock.com/

does yahoo provide something for this any rss ?? or can i get any script from the internet or something else that work for me.help can be taken from
www.bse.com, www.nasdaq.com.

please help me.
0
Comment
Question by:designersx
  • 4
  • 3
8 Comments
 
LVL 17

Expert Comment

by:nanharbison
Comment Utility
I get stock prices for my own amusement using some code called Snoopy, it is very cool
http://sourceforge.net/projects/snoopy/files/

the prices get added to my database with a cron job

there are probably lots of ways to do this though.
you can see my use of this here:
http://www.nanharbison.com/screenscraper/
0
 

Author Comment

by:designersx
Comment Utility
thanks for ur above post. ur work seems to be nice but do the prices get refreshed every time or after how much time?

is snoopy a module? could u please tell me more something i how should i proceed? i downloaded the snoopy from the link you gave me and placed it in the modules folder but from admin nothing seems to be coming in it.

how can i relate the cron job with snoopy.

If could help me, i would be very thankful to you for ur great help.

thanks.
0
 
LVL 3

Expert Comment

by:Anybody13
Comment Utility
well, it's quite easy.

use an rss feed + the rss-module.

You can choose how often the module should refresh and output the content to a blocl

That's it!
0
 

Author Comment

by:designersx
Comment Utility
that's really cool , thanks for ur advice. sir can u please tell me which rss-module i need to install. can u give me the link. how it will show the prices of each company?? please respond. i will be very thankful to you.

i don't know where nanharbison: sir has gone?
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 3

Expert Comment

by:Anybody13
Comment Utility
The RSS-Module is part of drupal core!

Just activate it in your module section!
0
 

Author Comment

by:designersx
Comment Utility
there is a module named aggregator that i have enabled it. this is for showing rss on the page.
i do not want to show the rss , my site is

futureofstock.com/ it  is related to stocks. so i was asking you about showing the current stock price of each company and get updated every second as is on finance.yahoo.com

i am attaching the snapshot , tell me where is the rss module, i can't see any rss module, yes there is a module named aggregator but i think that is for showing rss news. right?
0
 

Author Comment

by:designersx
Comment Utility
see the snapshot.
sna2.bmp
0
 
LVL 3

Accepted Solution

by:
Anybody13 earned 250 total points
Comment Utility
Hello,

yes it is the aggregator module!

You have to think about it again.
RSS is a really good way to handle this. If your share price provider sends the values as RSS, you can take these and display them in a Block.

You don't need to make them clickable or what ever. RSS is just the way of sharing information, like XML and so on.

Otherwise you have to write a custom module or look for XML-solutions.

Which kind/format of data do you receive?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now