“腐败”的版本间的差异
来自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: | ||
+ | url=https://zh.wikipedia.org/w/api.php?action=query&prop=extracts&format=json&exintro=&titles={{FULLPAGENAME}} | ||
+ | |format=JSON | ||
+ | |data=extract=extract}} | ||
+ | |||
+ | {{#sub:{{#external_value:extract }}|0|100}}...[https://zh.wikipedia.org/wiki/{{FULLPAGENAME}} 维基百科{{FULLPAGENAME}}] | ||
+ | <!-- Example: https://zh.wikipedia.org/wiki/%E4%B9%A0%E8%BF%91%E5%B9%B3 --> | ||
+ | |||
+ | |||
<feed url="feed://chinadigitaltimes.net/chinese/tag/腐败/feed/" entries="10"> | <feed url="feed://chinadigitaltimes.net/chinese/tag/腐败/feed/" entries="10"> | ||
== [{PERMALINK} {TITLE}] == | == [{PERMALINK} {TITLE}] == |