Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2009-07-07
8
768 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
ID: 24799421
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
ID: 24800652
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
ID: 24806868
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:designersx
ID: 24810784
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
 
LVL 3

Expert Comment

by:Anybody13
ID: 24810934
The RSS-Module is part of drupal core!

Just activate it in your module section!
0
 

Author Comment

by:designersx
ID: 24810996
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
ID: 24811003
see the snapshot.
sna2.bmp
0
 
LVL 3

Accepted Solution

by:
Anybody13 earned 250 total points
ID: 24816247
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Register account - Take payment using Paypal - Then Create account if payment successful 1 552
mini panels 2 390
Dynamic Pricing Meter ? 2 222
Redirct With Server Global Variable 3 102
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 …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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