Website Tools

Sturvs has some tools you can use to promote your blog or website. These tools will make it easier for your content to reach the Sturvs audience and the rest of the world. To use any of these tools you need to place the codes in your blog template/theme or hard-code them in your website source.

  1. Sturvs Go URL Shortening Service & API
    This service allows you to shorten long URLs for microblogging sites, forums, mobile phones and other websites that have a low character limit. Every submission made to Sturvs.com automatically gets a Sturvs Go URL. Click here to use the service without making a submission to Sturvs, or go ahead and make a submission.

    The service allows both POST and GET requests to allow integration into other web applications. For example:
    http://go.sturvs.com/api.php?url=http://www.dareyonline.com/2009/02/more/
    will return
    http://go.sturvs.com/d
    Test it.

  2. Sturvs Vote Button
    VoteThis button when placed on any web page displays the current number of votes the associated article has on Sturvs and a link for users to vote for the article from your website. If the article hasn't been added to Sturvs yet, then a "Sturv It" link will be displayed which will submit the aricle to Sturvs when clicked.

    For a page which will have only one article and only one button use this code:

    <script type="text/javascript" src="http://www.sturvs.com/button"></script>

    An example of this can be found here.

    For a page which will have more than one article and more than one button on it (e.g a blog's home, category or archive pages) use this code:

    <script type="text/javascript">
    submit_url = 'ARTICLE_URL';
    </script>
    <script type="text/javascript" src="http://www.sturvs.com/button"></script>


    This is the most suitable way to implement the Vote Button for Blogger users.

    An example of this can be found here and here.

    ARTICLE_URL is the url or permalink of the article that particular button belongs to. The equivalent codes for this on popular blogging platforms are:

    1. Blogger
      <$BlogItemPermalinkUrl$>
    2. Wordpress
      <?php the_permalink() ?>
    3. Typepad
      <$MTEntryPermalink$>

  3. Sturvs Bookmarklet
    This is a tiny bookmarklet to allow people to submit your blog posts or articles to Sturvs if you don't need to show the number of votes your article has or you just want something small. Sturvs Bookmarklet

    <a href="http://www.sturvs.com/submit?url=ARTICLE_URL"><img src="http://www.sturvs.com/images/sturvs.png" alt="Sturvs Bookmarklet" width="16" height="16" border="0" /></a>

    ARTICLE_URL is described above.

  4. Custom Link
    If you want to create your own custom link to allow your users to submit your articles to Sturvs or vote for existing articles, just give the link the url:

    http://www.sturvs.com/submit?url=ARTICLE_URL