“华夏文摘”的版本间的差异
来自China Digital Space
| 第1行: | 第1行: | ||
| + | <!-- | ||
| + | ############################################################################################# | ||
| + | Part 1: Getting extract from Wikipedia | ||
| + | {{FULLPAGENAME}} defaults to the title of this page, but you may need to change it manually. | ||
| + | ############################################################################################# | ||
| + | --> | ||
{{#get_web_data: | {{#get_web_data: | ||
| − | url=https://zh.wikipedia.org/w/api.php?action=query&prop=extracts | + | url=https://zh.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&titles= |
| + | {{FULLPAGENAME}} | ||
|format=JSON | |format=JSON | ||
|data=extract=extract}} | |data=extract=extract}} | ||
| − | {{#external_value:extract }} | + | {{#external_value:extract}} |
| − | + | <!-- | |
| + | ############################################################################################# | ||
| + | Part 2: Pulling feeds from CDT | ||
| + | The URL parameter needs to be set manually | ||
| + | ############################################################################################# | ||
| + | --> | ||
| − | <feed url="feed://chinadigitaltimes.net/chinese/tag/华夏文摘/feed/" entries=" | + | <feed url="feed://chinadigitaltimes.net/chinese/tag/华夏文摘/feed/" entries="15"> |
== [{PERMALINK} {TITLE}] == | == [{PERMALINK} {TITLE}] == | ||
'''{DATE}, by {AUTHOR}''' | '''{DATE}, by {AUTHOR}''' | ||
</feed> | </feed> | ||
| − | === | + | <!-- |
| + | ############################################################################################# | ||
| + | Part 3: Showing articles that linked to this page within CDT wiki | ||
| + | {{FULLPAGENAME}} defaults to the title of this page, but you may need to change it manually. | ||
| + | ############################################################################################# | ||
| + | --> | ||
| + | === 相关链接 === | ||
{{ #dpl: linksto = {{FULLPAGENAME}} }} | {{ #dpl: linksto = {{FULLPAGENAME}} }} | ||
| − | [[Category: 敏感词库]] | + | <!-- |
| + | ############################################################################################# | ||
| + | Part 4: Setting the categories for this page | ||
| + | ############################################################################################# | ||
| + | --> | ||
| + | [[Category:敏感词库]][[Category:公民媒体]] | ||
2016年1月8日 (五) 07:37的版本
Error: No contents found at URL https://zh.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&titles= 华夏文摘.
Error: no local variable "extract" was set.
<feed url="feed://chinadigitaltimes.net/chinese/tag/华夏文摘/feed/" entries="15">
[{PERMALINK} {TITLE}]
{DATE}, by {AUTHOR} </feed>



