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写技术,计算机和如何获得最有效地利用他们。
» Filed Under »提交下 Computer Tips电脑提示
Save this page 保存此页 | Stir it up on Mixx 轰动起来就mixx | |
Add to Reddit 添加到reddit |
Related Posts 相关文章
- Basic WordPress SEO基本的WordPress徐
- How to use TagCrowds on your website如何使用tagcrowds在您的网站
- How to create your own iGoogle theme如何创建您自己的iGoogle主题
- How to make your own cell phone theme如何使自己的手机主题
- Make your own AJAX progress bar制作自己的Ajax的进度栏






















