Friday, December 4, 2009

Stock research - top 100 stocks today

Top 100 stocks each day from barchart.com

Of interest on Dec 4th:
ATHN - Athena Health - web-based software for physicians offices
MED - Medifast (volatile, may be peaked out for this year)
PCN - PIMCO (getting back to where it was in early 2007)
DVD - Dover Motorsports (super low, struggling)

Wednesday, January 7, 2009

rss widget wordpress for non-wordpress site

how to display wordpress posts on a non-wordpress website:

PHP method found here - http://w-shadow.com/blog/2008/11/15/displaying-recent-posts-on-a-non-wordpress-page/

1. Download SimplePie
2. Grab the simplepie.inc file and put it somewhere on your server
3. Put this code in a php file:

<?php
$feed_url = 'http://w-shadow.com/feed/';
$max_items = 5;
 
//Load SimplePie
include 'includes/simplepie.inc';
 
//Fetch the RSS feed
$feed = new SimplePie($feed_url);
 
//Check for errors
if ($feed->error())
echo 'Error : ',$feed->error();
 
//Output up to $max_items posts
foreach ($feed->get_items(0, $max_items) as $item): ?>
<div class="item">
<h3 class="title"><a href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a></h3>
<?php echo $item->get_description(); ?>
<p><small>
Posted  <?php if ($author = $item->get_author()){ echo ' by '.$author->get_name(); }?>
on <?php echo $item->get_date('j F Y | g:i a'); ?>
</small></p>
</div>
<?php
endforeach;
?>

*I also turned off cache in the include file.  If you don't want to do that, you need to create a cache folder.


Tuesday, January 6, 2009

Google SEO Help

Some simple ideas for improving google SEO, found in the Site Wizard discussion boards:

Here is a great Google Page Rank thread.

Google SEO Help

  1. Get Those Inbound Links



    Since Google ranks your pages according to the number of links pointing at your page, it stands to reason that you should try
    to get as many links pointing at your pages as possible. This is so obvious that I'm only mentioning it for completeness sake.

  2. Your Title Tag



    Google seems to give weight to the title of your page. By title, I mean
    the text that is sandwiched between the HTML <TITLE> tags
    in the <HEAD> section of your web page. If you use a Web editor
    that automatically inserts a title like "New Page", remember to
    change it to some meaningful text with your keywords inside to reap the
    benefit of this feature.

  3. Content-Laden Pages (Keyword Density)



    It has often been observed that Google considers keyword density a large factor in ranking pages in search engine results, more
    so than many other search engines. You can read more about keyword density and how you can
    improve it on your pages from my other article,
    Improving Your Keyword Density for Search Engine Positioning,
    at http://www.thesitewizard.com/archive/keyworddensity.shtml

  4. Keyword-laden Links?



    According to a paper published by one of Google's founders, if the links pointing to your page
    has the relevant keyword text in them, it will cause your page to be ranked higher in
    search engine results. For example, a link with the text "Cheap Shoe Store" pointing at your
    site will cause your site to be listed earlier if a visitor searches for "cheap shoe store"
    than if the link simply said "click here". You can find a copy of the paper online at
    The Anatomy of a Large-Scale Hypertextual Web Search Engine.

More help...

  1. Will Disabling Caching of Your Page Affect Your Page Rank?



    Some time ago, it was claimed that Google would penalise pages that forbade it from caching their
    pages. As you know, Google caches the pages it indexes unless otherwise instructed.
    To avoid problems with people who feel that this is a copyright infringement (and other reasons),
    they allow sites to instruct the Google spider not to cache those pages using various means.
    One such method is outlined in my article
    on using META tags to manage the search engine spiders and listings
    , at
    http://www.thesitewizard.com/archive/metatags.shtml



    Google has apparently publicly denied that disabling caching would
    affect the page's ranking in any way. I tend to believe their claim.

  2. Dynamic Pages and Google


    Unlike some other search engines, Google is able to index
    dynamically generated pages, so long as
    a link exist to those pages somewhere. For example, a page like
    "http://example.com/showstuff.php?page=19" can be indexed by Google.


    So if you have a dynamically generated page that you think should be
    indexed, make sure you put a link to it somewhere on your site.

  3. ALT tags on Images



    If you have been placing images on your website without bothering to place ALT tags, now is
    a good time to add ALT tags. Google apparently indexes the text given in the ALT tags of images.

  4. META Keywords Tag is Ignored



    Google ignores the META keywords tag, so, the optimization of this tag is not going to help you any with Google.



Keyword Density for SEO

How to Improve Your Search Engine Ranking




How do you improve your keyword density?




  1. When planning a page, think about which search terms a user is likely to use when
    searching for the information your site provides. For example, a visitor who is looking for
    information on "Search Engine Ranking" may search for things like "search engine positioning",
    "search engine ranking", "search engine placement", "keyword density", "top ranking", and
    the like.


  2. After you have collected your list of keywords, do NOT simply dump those keywords into
    a senseless list on your web page. I've seen some websites do this in an attempt to influence
    search engine listings. This may not work with all search engines. Some of the engines attempt
    to be smart when processing keywords and if it sees keywords occurring together in a
    senseless sequence, it may penalise your website.


  3. Instead, try to form sentences that use those keywords. If you are a good writer,
    you may have to kill some of those good habits you previously used in writing documents:
    for example, many good writers have an aversion to repeating a particular word too often,
    choosing instead to use alternative terms that mean the same thing. This makes for
    a more pleasant reading, but it will not help you get your site listed with a top rank
    in search engine results for that particular keyword.



    For instance, if you want your page to have a high ranking when someone searches for the phrase
    "search engine ranking", keep repeating the phrase "search engine ranking" in your document
    instead of substituting with pronouns like "it" and the like. Do likewise for the other
    keywords that you want a high density on the page. You'll of course have to use your discretion
    with this, or your page will be unpleasant to read.



    You can see an example of how this is done by examining this article itself, and see how often
    I have repeated keywords and phrases like "keyword", "keyword density", "search engine ranking"
    and "search engine positioning".


  4. In days of old, some people tried the trick of having a very short page for a particular
    keyword. For example, the page may only have the following one sentence: "Keyword density is
    important in search engine ranking." Since there were so few words on the page, the page was
    actually easy to draft and the keywords "keyword density" and "search engine ranking" have a
    very high density on that page.



    This method is not very useful nowadays. For example, at the time I wrote this,
    it no longer appears to work with Alta Vista, which seems to rank pages that are bigger than
    4K more favourably.



The original documentation for designing & building Google

Google Toolbar for Webmasters


Wednesday, December 31, 2008

Parse code for blog entry in one click

http://www.blogcrowds.com/resources/parse_html.php

Just copy & paste your code into this.  It rewrites your brackets and parenthesis so blogs don't get so scared.  Code> tags, never again.

How to display wordpress posts outside the blog

Awesomely Easy:
http://www.corvidworks.com/articles/wordpress-content-on-other-pages

<?php
// Include Wordpress
define('WP_USE_THEMES', false);
require('./blog/wp-blog-header.php');
query_posts('showposts=1');
?>

<?php while (have_posts()): the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<p><a href="<?php the_permalink(); ?>">Read more...</a></p>
<?php endwhile; ?>

Monday, November 24, 2008

miami dolphins anthem lyrics

Unknown - Miami Dolphins Fight Song LYRICS

Miami has the Dolphins
The Greatest Football Team
We take the ball from goal to goal
Like no one's ever seen
We're in the air, we're on the ground
We're always in control
And when you say Miami
You're talking Super Bowl

'Cause we're the...

Miami Dolphins,
Miami Dolphins,
Miami Dolphins Number One.
Yes we're the...
Miami Dolphins,
Miami Dolphins,
Miami Dolphins Number One

Monday, November 17, 2008

twitter rest api PHP application source

Woork: Twitter: send message from a PHP page using Twitter API

This didn't answer my question but it's cool. Throw a little "what am I doing" box on your website...

As for the parameter called "source", i'm throwing it in the header