Minggu, 30 November 2014

[smf_addin] Digest Number 3253

3 Messages

Digest #3253

Messages

Sat Nov 29, 2014 2:19 pm (PST) . Posted by:

"Jose Jacob" pepecan47

Hi Randy - the data item I need to use most urgently from Yahoo Key Statistics is element 4926.

When using IE to access the Key Stats, I get redirected to: https://ca.finance.yahoo.com/q/ks?s=MCD and I think this is why I get "Error" when using
=RCHGetElementNumber(A3,4926)

See the "ca" prefix that is added.

The element formula for 4926 is :

4926;YahooKS;Trailing Annual Dividend Rate;http://finance.yahoo.com/q/ks?s=~~~~~;2;FINANCIAL HIGHLIGHTS;FORWARD ANNUAL DIVIDEND RATE; ; ;2;</table;0;0

Based on this, how can I create my own formula for "Trailing Annual Dividend Rate"?

And If I want it, how can I create a new element#? Are there reserved #'s and element.txt files for "added by the user elements"?

Regards,
Jose L. Jacob

--------------------------------------------
On Sun, 11/16/14, Randy Harmelink rharmelink@gmail.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

Subject: Re: [smf_addin] SMF-Template-Yahoo-Key-Statistics spreadsheet errors
To: smf_addin@yahoogroups.com
Received: Sunday, November 16, 2014, 4:55 PM


 









No, I was referring to the other
one:

https://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/10464

On Sun,
Nov 16, 2014 at 11:55 AM, Jose Jacob pepecan47@... wrote:
Hi Randy - are you
referring to this fix?



"What you can do is create a file in the same folder as
add-in, called "smf-AdvFN-Prefix.txt", All the
file should contain is the two letters "uk". You
can create the file with Notepad. This file overrides the
add-in default, and the add-in will then use the
"uk" version of the URL instead of the default
"www" version of the URL.



You'll need the 2.1.2012.12.29 version of the add-in for
this to work..."



I have this file for AdvFN, but I don't know how it can
help for this Yahoo issue.

















#yiv8693773341 #yiv8693773341 --
#yiv8693773341ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv8693773341 #yiv8693773341ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv8693773341 #yiv8693773341ygrp-mkp #yiv8693773341hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv8693773341 #yiv8693773341ygrp-mkp #yiv8693773341ads {
margin-bottom:10px;}

#yiv8693773341 #yiv8693773341ygrp-mkp .yiv8693773341ad {
padding:0 0;}

#yiv8693773341 #yiv8693773341ygrp-mkp .yiv8693773341ad p {
margin:0;}

#yiv8693773341 #yiv8693773341ygrp-mkp .yiv8693773341ad a {
color:#0000ff;text-decoration:none;}
#yiv8693773341 #yiv8693773341ygrp-sponsor
#yiv8693773341ygrp-lc {
font-family:Arial;}

#yiv8693773341 #yiv8693773341ygrp-sponsor
#yiv8693773341ygrp-lc #yiv8693773341hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv8693773341 #yiv8693773341ygrp-sponsor
#yiv8693773341ygrp-lc .yiv8693773341ad {
margin-bottom:10px;padding:0 0;}

#yiv8693773341 #yiv8693773341actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv8693773341 #yiv8693773341activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv8693773341 #yiv8693773341activity span {
font-weight:700;}

#yiv8693773341 #yiv8693773341activity span:first-child {
text-transform:uppercase;}

#yiv8693773341 #yiv8693773341activity span a {
color:#5085b6;text-decoration:none;}

#yiv8693773341 #yiv8693773341activity span span {
color:#ff7900;}

#yiv8693773341 #yiv8693773341activity span
.yiv8693773341underline {
text-decoration:underline;}

#yiv8693773341 .yiv8693773341attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv8693773341 .yiv8693773341attach div a {
text-decoration:none;}

#yiv8693773341 .yiv8693773341attach img {
border:none;padding-right:5px;}

#yiv8693773341 .yiv8693773341attach label {
display:block;margin-bottom:5px;}

#yiv8693773341 .yiv8693773341attach label a {
text-decoration:none;}

#yiv8693773341 blockquote {
margin:0 0 0 4px;}

#yiv8693773341 .yiv8693773341bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv8693773341 .yiv8693773341bold a {
text-decoration:none;}

#yiv8693773341 dd.yiv8693773341last p a {
font-family:Verdana;font-weight:700;}

#yiv8693773341 dd.yiv8693773341last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv8693773341 dd.yiv8693773341last p
span.yiv8693773341yshortcuts {
margin-right:0;}

#yiv8693773341 div.yiv8693773341attach-table div div a {
text-decoration:none;}

#yiv8693773341 div.yiv8693773341attach-table {
width:400px;}

#yiv8693773341 div.yiv8693773341file-title a, #yiv8693773341
div.yiv8693773341file-title a:active, #yiv8693773341
div.yiv8693773341file-title a:hover, #yiv8693773341
div.yiv8693773341file-title a:visited {
text-decoration:none;}

#yiv8693773341 div.yiv8693773341photo-title a,
#yiv8693773341 div.yiv8693773341photo-title a:active,
#yiv8693773341 div.yiv8693773341photo-title a:hover,
#yiv8693773341 div.yiv8693773341photo-title a:visited {
text-decoration:none;}

#yiv8693773341 div#yiv8693773341ygrp-mlmsg
#yiv8693773341ygrp-msg p a span.yiv8693773341yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv8693773341 .yiv8693773341green {
color:#628c2a;}

#yiv8693773341 .yiv8693773341MsoNormal {
margin:0 0 0 0;}

#yiv8693773341 o {
font-size:0;}

#yiv8693773341 #yiv8693773341photos div {
float:left;width:72px;}

#yiv8693773341 #yiv8693773341photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv8693773341 #yiv8693773341photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv8693773341 #yiv8693773341reco-category {
font-size:77%;}

#yiv8693773341 #yiv8693773341reco-desc {
font-size:77%;}

#yiv8693773341 .yiv8693773341replbq {
margin:4px;}

#yiv8693773341 #yiv8693773341ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg select,
#yiv8693773341 input, #yiv8693773341 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg pre, #yiv8693773341
code {
font:115% monospace;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg * {
line-height:1.22em;}

#yiv8693773341 #yiv8693773341ygrp-mlmsg #yiv8693773341logo {
padding-bottom:10px;}


#yiv8693773341 #yiv8693773341ygrp-msg p a {
font-family:Verdana;}

#yiv8693773341 #yiv8693773341ygrp-msg
p#yiv8693773341attach-count span {
color:#1E66AE;font-weight:700;}

#yiv8693773341 #yiv8693773341ygrp-reco
#yiv8693773341reco-head {
color:#ff7900;font-weight:700;}

#yiv8693773341 #yiv8693773341ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv8693773341 #yiv8693773341ygrp-sponsor #yiv8693773341ov
li a {
font-size:130%;text-decoration:none;}

#yiv8693773341 #yiv8693773341ygrp-sponsor #yiv8693773341ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv8693773341 #yiv8693773341ygrp-sponsor #yiv8693773341ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv8693773341 #yiv8693773341ygrp-text {
font-family:Georgia;}

#yiv8693773341 #yiv8693773341ygrp-text p {
margin:0 0 1em 0;}

#yiv8693773341 #yiv8693773341ygrp-text tt {
font-size:120%;}

#yiv8693773341 #yiv8693773341ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv8693773341


Sat Nov 29, 2014 3:43 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

The smf-elements-info.txt file that is distributed with the ZIP archive
contains some documentation on the element definition files. For example,
my current version says (which I updated earlier this year):

"The add-in loads element definitions from files smf-elements-0.txt thru
smf-elements-20.txt, in that order, if they exist. I'd suggest creating the
currently non-existing smf-elements-20.txt file for your own element
definitions. Otherwise, if you put them into an existing file, they would
get wiped out if you need to replace the file with a new update from me.
The #20 file will also be loaded last, so you can override and replace
other element definitions by just reusing the element number."

What I would suggest is to create the smf-elements-20.txt file, and put a
definition of element 4926 in it. That definition will then override the
add-in's standard one. For example, you could do something like this:

4926;YahooKS;Trailing Annual Dividend Rate;=RCHGetTableCell("
https://ca.finance.yahoo.com/q/ks?s=~~~~~",2,">Forward Annual Dividend
Rate",,,,2)

On Sat, Nov 29, 2014 at 3:19 PM, Jose Jacob pepecan47@... wrote:

> Hi Randy - the data item I need to use most urgently from Yahoo Key
> Statistics is element 4926.
>
> When using IE to access the Key Stats, I get redirected to:
> https://ca.finance.yahoo.com/q/ks?s=MCD and I think this is why I get
> "Error" when using
> =RCHGetElementNumber(A3,4926)
>
> See the "ca" prefix that is added.
>
> The element formula for 4926 is :
>
> 4926;YahooKS;Trailing Annual Dividend Rate;
> http://finance.yahoo.com/q/ks?s=~~~~~;2;FINANCIAL HIGHLIGHTS;FORWARD
> ANNUAL DIVIDEND RATE; ; ;2;</table;0;0
>
> Based on this, how can I create my own formula for "Trailing Annual
> Dividend Rate"?
>
> And If I want it, how can I create a new element#? Are there reserved #'s
> and element.txt files for "added by the user elements"?
>
>
>

Sat Nov 29, 2014 8:36 pm (PST) . Posted by:

"Jose Jacob" pepecan47

Thank you Randy, it works.

Regards,
Jose L. Jacob

--------------------------------------------
On Sat, 11/29/14, Randy Harmelink rharmelink@gmail.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

Subject: Re: [smf_addin] SMF-Template-Yahoo-Key-Statistics spreadsheet errors
To: smf_addin@yahoogroups.com
Received: Saturday, November 29, 2014, 6:43 PM


 









The smf-elements-info.txt
file that is distributed with the ZIP archive contains some
documentation on the element definition files. For example,
my current version says (which I updated earlier this
year):

"The add-in
loads element definitions from files smf-elements-0.txt thru
smf-elements-20.txt, in that order, if they exist. I'd
suggest creating the currently non-existing
smf-elements-20.txt file for your own element definitions.
Otherwise, if you put them into an existing file, they would
get wiped out if you need to replace the file with a new
update from me. The #20 file will also be loaded last, so
you can override and replace other element definitions by
just reusing the element number."

What I would suggest is to create the
smf-elements-20.txt file, and put a definition of element
4926 in it. That definition will then override the
add-in's standard one. For example, you could do
something like this:

4926;YahooKS;Trailing Annual Dividend
Rate;=RCHGetTableCell("https://ca.finance.yahoo.com/q/ks?s=~~~~~",2,">Forward
Annual Dividend Rate",,,,2)

On Sat, Nov 29, 2014 at
3:19 PM, Jose Jacob pepecan47@... wrote:
Hi Randy - the data item I need to use
most urgently from Yahoo Key Statistics is element 4926.



When using IE to access the Key Stats,  I get redirected
to:  https://ca.finance.yahoo.com/q/ks?s=MCD
and I think this is why I get "Error" when
using

=RCHGetElementNumber(A3,4926)



See the "ca" prefix that is added.



The element formula for 4926 is :



4926;YahooKS;Trailing Annual Dividend Rate;http://finance.yahoo.com/q/ks?s=~~~~~;2;FINANCIAL
HIGHLIGHTS;FORWARD ANNUAL DIVIDEND RATE; ;
;2;</table;0;0



Based on this, how can I create my own formula for
"Trailing Annual Dividend Rate"?



And If I want it, how can I create a new element#? Are there
reserved #'s and element.txt files for "added by
the user elements"?

















#yiv0761287591 #yiv0761287591 --
#yiv0761287591ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}

#yiv0761287591 #yiv0761287591ygrp-mkp hr {
border:1px solid #d8d8d8;}

#yiv0761287591 #yiv0761287591ygrp-mkp #yiv0761287591hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}

#yiv0761287591 #yiv0761287591ygrp-mkp #yiv0761287591ads {
margin-bottom:10px;}

#yiv0761287591 #yiv0761287591ygrp-mkp .yiv0761287591ad {
padding:0 0;}

#yiv0761287591 #yiv0761287591ygrp-mkp .yiv0761287591ad p {
margin:0;}

#yiv0761287591 #yiv0761287591ygrp-mkp .yiv0761287591ad a {
color:#0000ff;text-decoration:none;}
#yiv0761287591 #yiv0761287591ygrp-sponsor
#yiv0761287591ygrp-lc {
font-family:Arial;}

#yiv0761287591 #yiv0761287591ygrp-sponsor
#yiv0761287591ygrp-lc #yiv0761287591hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}

#yiv0761287591 #yiv0761287591ygrp-sponsor
#yiv0761287591ygrp-lc .yiv0761287591ad {
margin-bottom:10px;padding:0 0;}

#yiv0761287591 #yiv0761287591actions {
font-family:Verdana;font-size:11px;padding:10px 0;}

#yiv0761287591 #yiv0761287591activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}

#yiv0761287591 #yiv0761287591activity span {
font-weight:700;}

#yiv0761287591 #yiv0761287591activity span:first-child {
text-transform:uppercase;}

#yiv0761287591 #yiv0761287591activity span a {
color:#5085b6;text-decoration:none;}

#yiv0761287591 #yiv0761287591activity span span {
color:#ff7900;}

#yiv0761287591 #yiv0761287591activity span
.yiv0761287591underline {
text-decoration:underline;}

#yiv0761287591 .yiv0761287591attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}

#yiv0761287591 .yiv0761287591attach div a {
text-decoration:none;}

#yiv0761287591 .yiv0761287591attach img {
border:none;padding-right:5px;}

#yiv0761287591 .yiv0761287591attach label {
display:block;margin-bottom:5px;}

#yiv0761287591 .yiv0761287591attach label a {
text-decoration:none;}

#yiv0761287591 blockquote {
margin:0 0 0 4px;}

#yiv0761287591 .yiv0761287591bold {
font-family:Arial;font-size:13px;font-weight:700;}

#yiv0761287591 .yiv0761287591bold a {
text-decoration:none;}

#yiv0761287591 dd.yiv0761287591last p a {
font-family:Verdana;font-weight:700;}

#yiv0761287591 dd.yiv0761287591last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}

#yiv0761287591 dd.yiv0761287591last p
span.yiv0761287591yshortcuts {
margin-right:0;}

#yiv0761287591 div.yiv0761287591attach-table div div a {
text-decoration:none;}

#yiv0761287591 div.yiv0761287591attach-table {
width:400px;}

#yiv0761287591 div.yiv0761287591file-title a, #yiv0761287591
div.yiv0761287591file-title a:active, #yiv0761287591
div.yiv0761287591file-title a:hover, #yiv0761287591
div.yiv0761287591file-title a:visited {
text-decoration:none;}

#yiv0761287591 div.yiv0761287591photo-title a,
#yiv0761287591 div.yiv0761287591photo-title a:active,
#yiv0761287591 div.yiv0761287591photo-title a:hover,
#yiv0761287591 div.yiv0761287591photo-title a:visited {
text-decoration:none;}

#yiv0761287591 div#yiv0761287591ygrp-mlmsg
#yiv0761287591ygrp-msg p a span.yiv0761287591yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}

#yiv0761287591 .yiv0761287591green {
color:#628c2a;}

#yiv0761287591 .yiv0761287591MsoNormal {
margin:0 0 0 0;}

#yiv0761287591 o {
font-size:0;}

#yiv0761287591 #yiv0761287591photos div {
float:left;width:72px;}

#yiv0761287591 #yiv0761287591photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}

#yiv0761287591 #yiv0761287591photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}

#yiv0761287591 #yiv0761287591reco-category {
font-size:77%;}

#yiv0761287591 #yiv0761287591reco-desc {
font-size:77%;}

#yiv0761287591 .yiv0761287591replbq {
margin:4px;}

#yiv0761287591 #yiv0761287591ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg table {
font-size:inherit;font:100%;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg select,
#yiv0761287591 input, #yiv0761287591 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg pre, #yiv0761287591
code {
font:115% monospace;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg * {
line-height:1.22em;}

#yiv0761287591 #yiv0761287591ygrp-mlmsg #yiv0761287591logo {
padding-bottom:10px;}


#yiv0761287591 #yiv0761287591ygrp-msg p a {
font-family:Verdana;}

#yiv0761287591 #yiv0761287591ygrp-msg
p#yiv0761287591attach-count span {
color:#1E66AE;font-weight:700;}

#yiv0761287591 #yiv0761287591ygrp-reco
#yiv0761287591reco-head {
color:#ff7900;font-weight:700;}

#yiv0761287591 #yiv0761287591ygrp-reco {
margin-bottom:20px;padding:0px;}

#yiv0761287591 #yiv0761287591ygrp-sponsor #yiv0761287591ov
li a {
font-size:130%;text-decoration:none;}

#yiv0761287591 #yiv0761287591ygrp-sponsor #yiv0761287591ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}

#yiv0761287591 #yiv0761287591ygrp-sponsor #yiv0761287591ov
ul {
margin:0;padding:0 0 0 8px;}

#yiv0761287591 #yiv0761287591ygrp-text {
font-family:Georgia;}

#yiv0761287591 #yiv0761287591ygrp-text p {
margin:0 0 1em 0;}

#yiv0761287591 #yiv0761287591ygrp-text tt {
font-size:120%;}

#yiv0761287591 #yiv0761287591ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv0761287591


For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Poskan Komentar