0
Welcome Guest! Login
0 items Join Now

How to "Digg" A Story?

    • Steve N's Avatar

    How to "Digg" A Story?

    Posted 18 years 3 months ago
    • noblecode's Avatar
    • noblecode
    • Sr. Rocketeer
    • Posts: 141
    • Thanks: 0

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • Steve N's Avatar

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • I downloaded the Digg It module and it gave me 2 files, a PHP and an XML file.

      mod_digg.php file contains:
      <?php

      defined("_VALID_MOS") or die("Direct Access is not allowed");



      $url = rawurlencode(sefRelToAbs($_SERVER));



      global $mainframe;

      $title = $mainframe->getPageTitle();



      if($params->get('include_site')=="1") {

      global $mosConfig_sitename;

      $title .= ' - ' . $mosConfig_sitename;

      }



      $title = rawurlencode($title);



      $topic = $params->get('topic');

      if($topic!="") $topic = "&topic=" . $topic;



      $img = $params->get('img');

      $width = $params->get('width');

      $height = $params->get('height');

      ?>

      <a href=" digg.com/submit?phase=2&url= <?php echo $url; ?>&title=<?php echo $title; ?><?php echo $topic; ?>"><img src="<?php echo $img; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" alt="Digg!" id="diggImg" /></a>

      The mod_digg.xml file contains this:
      <?xml version="1.0" ?>

      <mosinstall type="module">

      <name>Digg This - Customizable</name>

      <creationDate>12-29-2006</creationDate>

      <author>Justin Cook</author>

      <copyright>This module is released under the GNU/GPL License</copyright>

      <authorEmail>This email address is being protected from spambots. You need JavaScript enabled to view it.</authorEmail>

      <authorUrl> www.justin-cook.com </authorUrl>

      <version>1.0</version>

      <description>Creates a customizable Digg This! link to the current article</description>

      <files>

      <filename module="mod_digg">mod_digg.php</filename>

      </files>

      <params>

      <param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />

      <param name="img" type="text" default=" digg.com/img/badges/80x15-digg-badge-2.png " label="Image"

      description="The exact URL of the DIGG image to use (more at digg.com/tools/buttons )" />

      <param name="width" type="text" default="80" label="width" description="The exact width of the DIGG image" />

      <param name="height" type="text" default="15" label="Image" description="The exact height of the DIGG image" />

      <param name="include_site" type="list" default="0" label="Include site" description="Include the site name in the submission (format:
      Article cannot be shown

      What do I do next? ???
    • noblecode's Avatar
    • noblecode
    • Sr. Rocketeer
    • Posts: 141
    • Thanks: 0

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • install this file in your admin installer...(no need to unzip)

      you will need to install this as a zip file (the orginial download)...
      Go to admin > Install > Module >> browse for that zip on your Computer... once installed you will need to go to the modules section of your admin...

      Cory
    • Steve N's Avatar

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • Noblecode: Another question, how do I get it to submit each article. The way it's set up now (on the side as a module), it only submits the my site's main URL and title.
    • noblecode's Avatar
    • noblecode
    • Sr. Rocketeer
    • Posts: 141
    • Thanks: 0

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • Steven,

      Sorry I should have read deeper into your need and what the modules did...

      It looks like what you need is TAGBOT
      extensions.joomla.org/component/option,c...nk_id,749/Itemid,35/

      Here is what the site says it does
      Joomla Tagbot is a mambot/plugin that gives visitors to your site the ability to bookmark any article (content item) in one of the many Bookmark or Tagging sites such as Digg.com, Furl.net, Spurl.net, Del.icio.us etc.

      This url has instructions and further info...
      fijiwebdesign.com/content/view/77/55/
    • Steve N's Avatar

    Re: How to "Digg" A Story?

    Posted 18 years 3 months ago
    • Noblecode: Thank you! ;D

Time to create page: 0.058 seconds