How to add Digg content to your site如何添加digg內容到您的網站

Posted on August 30, 2008 at 5:34 am張貼於2008年8月30日在上午05時34分

Digg is famous for it’s great content ranking capability.  Articles who get in Digg are high quality since they are already voted by the readers.  The more vote an article gets, the more valuable it becomes at Digg.  The most voted submissions are put on the first page.  If you want to add popular Digg story headlines in your page, this post is for you. digg是著名的為它的偉大內容的排名的能力。文章,誰得到的digg是高品質,因為他們已經投了票,由以饗讀者。更加投票的一篇文章獲得,更有價值,它成為在digg 。最贊成的意見,提出了在第一頁上,如果你要添加的熱門digg故事的標題在您的網頁,這個職位給你。

To get the HTML script go to獲得HTML腳本去 http://digg.com/add-digg .

You will see the Create a Digg Widget interface:您會看到創建一個digg的窗口小部件接口:

形象

On this example, I chose the second theme with black background and the “Software” selection under the All popular stories.  You can choose a category of stories on the dropdown.  The preview of the output was instantly displayed.  This might have been done by the Digg developers using Ajax since the whole page did not refresh – only the preview refreshed.就這個例子,我選擇的第二個主題,與黑色的背景和“軟件”的選擇下,所有流行的故事。您可以選擇一類的故事就下拉。預覽的輸出是即時顯示,這可能已做了該digg開發商使用AJAX以來,整頁沒有刷新-只有預覽刷新。

The good thing about this tool is that it let’s you filter only Digg submissions by a certain user.  This means you can display only stories you submitted yourself!該一件好事,關於此工具的是,它讓您的篩選,只有digg意見書,由某一個用戶,這意味著您可以只顯示故事,您所提交的自己!

The lower part of the tool are the display options and the generated HTML code:較低的一部分,該工具是顯示選項和產生的HTML代碼:

形象

Experiment with different settings to get the look and feel that you want.  I like this tool a lot since it automates the generation of the script – you can easily make a typo or syntax mistake with this heavily tagged type of code.   Since the output is an HTML script, you are free to edit it as you like.  You can change the title for example to “My Diggs!”.  Just make sure you don’t break the tags or leave out an important syntax component like the semicolon at the end of each line inside the <script> tag.試驗不同的設置,以獲得外觀和感覺您想要的,我喜歡這個工具很多,因為它可自動生成腳本-您可以輕易地作出錯字或語法錯誤,這與大量標記類型的代碼。以來的產量是一個HTML腳本,你可以自由的編輯它如你所願。您可以更改名稱,例如“我迪格斯! ”您只要確定不打破標籤或遺漏的一個重要組成部分的語法一樣,分號在每年年底的線內<script>標記。

The final output will be like the one below:最後產出就會像一個如下:

digg_id = ‘digg-widget-container’; //make this id unique for each widget you put on a single page. digg_id = ' digg -小裝置的容器' ; / /使這一獨特的編號為每個窗口小部件你把單一網頁上。
digg_description = 1; digg_description = 1 ;
digg_target = 1; digg_target = 1 ;
digg_theme = ‘digg-widget-theme4′; digg_theme = ' digg -小裝置- theme4 ' ;
digg_title = ‘My Diggs!’; digg_title = '我迪格斯! ' ;

Ben Carigtan writes about technology, computers and how to get the most out of them.本carigtan寫技術,計算機和如何獲得最有效地利用他們。

If you enjoyed this post, make sure you 如果您喜歡這個職位,請務必 subscribe to my RSS feed 訂閱我的RSS饋送 !

» Filed Under »提交下 Computer Tips電腦提示

添加到美味 Save this page 保存此頁 mixx它 Stir it up on Mixx 轟動起來就mixx
reddit Add to Reddit 添加到reddit stumbleupon Stumble this page 蹣跚此頁

Related Posts 相關文章

Please post your comments/suggestions! 請張貼您的意見/建議!