home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 1999 February / CT_SW9902.ISO / pc / software / finanzen / boerse / stock100.exe / setup.fil / sources / cnnfind.src < prev    next >
Text File  |  1999-03-10  |  2KB  |  123 lines

  1. [Symbol]=cnnfind
  2. [Country]=1
  3.  
  4. [Name.German]=Einzelkurse - cnnfn (USA)
  5. [Name.English]=U.S. Quotes via cnnfn
  6.  
  7. [InfoShort.German]=Nasdaq/NYSE-Kurse in USD.  Suche nach Ticker-Symbol.  Kursdaten von Standard and Poors Comstock.  Bietet Charts und Firmenprofil (engl.).
  8.  
  9. [InfoShort.English]=U.S. Quotes in USD.  Search based on Ticker Symbol.  Quotes provided by Standard and Poor's Comstock.  Offers chart and company profile.
  10.  
  11. [InfoLong]=...
  12.  
  13. [SearchFor]=Ticker Symbol
  14. [SearchTransform]=uppercase
  15.  
  16. [BasedOn]=http://cnnfn.com/markets/quotes.html
  17.  
  18. [Host]=qs2.cnnfn.com
  19. [Doc]=tq/stockquote?symbols=$(SYMBOL)
  20.  
  21. [ParserScript]=...
  22. set "decimal", "/"
  23. set "thousand", ","
  24. set "currency", "USD"
  25.  
  26.  
  27. outputto "last"
  28. onerror "<$(SYMBOL) not found>"
  29. findline "<map name=$(SYMBOL)>"
  30. onerror "<FAIL>"
  31.  
  32. outputto "urlchart"
  33. moveline 2
  34. findinline "href=\""
  35. sayuntil "\""
  36.  
  37. outputto "urlprofile"
  38. moveline 1
  39. findinline "href=\""
  40. sayuntil "\""
  41.  
  42. outputto "last"
  43. findline "last:&nbs" 
  44. replace " ", ""
  45. notags
  46. findinline ":"; sayuntil "~"
  47.  
  48. outputto "change"
  49. findline "change:&nb" 
  50. replace " ", ""
  51. notags
  52. findinline ":"; sayuntil ";"
  53.  
  54. outputto "high"
  55. findline ">today's high<"
  56. moveline 1; notags; sayuntil "~"
  57.  
  58. outputto "yesterday"
  59. findline ">previous close<"
  60. moveline 1; notags; sayuntil "~"
  61.  
  62. outputto "low"
  63. findline ">today's low<"
  64. moveline 1; notags; sayuntil "~"
  65.  
  66. outputto "bid"
  67. findline ">bid<"
  68. moveline 1
  69. findinline "SIZE=-1>"
  70. if "Not Avail"
  71.     say "<N/A>"
  72. else
  73.     sayuntil "<"
  74. endif
  75.  
  76. outputto "open"
  77. findline "open<"
  78. moveline 1
  79. findinline "SIZE=-1>"
  80. sayuntil "<"
  81.  
  82. outputto "ask"
  83. findline ">ask<"
  84. moveline 1
  85. findinline "SIZE=-1>"
  86. ifnot "Not Avail"
  87.     sayuntil "<"
  88. endif
  89.  
  90. outputto "volume"
  91. findline ">volume<"
  92. moveline 1
  93. findinline "SIZE=-1>"
  94. sayuntil "<"
  95.  
  96. outputto "high52weeks"
  97. findline ">52-week high<"
  98. moveline 1
  99. findinline "SIZE=-1>"
  100. sayuntil "<"
  101.  
  102. outputto "low52weeks"
  103. findline ">52-week low<"
  104. moveline 1
  105. findinline "SIZE=-1>"
  106. sayuntil "<"
  107.  
  108. findline ">Last Update on "
  109. findinline ">Last Update on "
  110. ifnot "Not"
  111.     outputto "date"
  112.     sayuntil " "
  113.     say "|M/D/Y"
  114. endif
  115.  
  116. ifnot "Not"
  117.     outputto "time"
  118.     skipchars " @"
  119.     sayuntil "<"
  120.     say "|h:m:s"
  121. endif
  122.  
  123.