webfeeds

什么是WebFeeds

我们的网络源使您能够将最新的scidev.net故事嵌入到您的网站中。只需将一些代码(如下所述)插入您的Web模板中,即可将我们的最新新闻和分析激活到您的网站中。阅读其他关注我们的方法here

How to get the embed code

Web feed icon.

在我们网站上查找WebFeeds图标。您将在每个版本的最高版本中找到它,并在我们的“主题”页面中找到它,使您可以在我们的内容中深入研究。

版本范围的提要将为您提供所有主题和所有文章类型的最新文章。主题页WebFeeds将允许您在构建WebFeed嵌入代码之前使用“ facet”工具栏选择过滤器,从而使您更加控制Feed中出现的内容。

Theme page webfeeds will allow you to select the filters using the "facet" toolbar (picture above) before building your webfeed embed code.

将代码嵌入您的网站

我们的WebFeed

Once you have generated the embed code as per the instructions above, embedding the code in your website is as simple as copying and pasting into your web template(s). For example:

  您的网页
   
<! - 开始嵌入代码 - >
Baidu

然后将在

...
tag (you can use whatever you like here, this classname is for illustrative purposes only).

Customising the appearance of the feed

WebFeed使用SCIDEV特定类名称的简单标记使用,以允许您自定义Feed的外观和感觉。以下是Feed的HTML结构以及默认样式定义:

Latest News

on science, technology & the developing world.

Supplied by scidev.net

We have designed the stylesheet and markup so that it is easy to override using simple CSS. For example, to change the default font colour to blue, you would change your embed code to look something like this:

  您的网页
   
<! - 开始嵌入代码 - > <! - 结束嵌入代码 - >
Baidu

就是这样!