如何抓取一个公众号转成 RSS

I. 找到对应的账号,http://www.gzhshoulu.wang/

比如,http://www.gzhshoulu.wang/account_ArchNotes.html

II. 生成含有标题和连接的 rss feed,https://feed43.com

2.1 RULES

# content
<title>{%}</title>{*}<div class='list_main'>{%}<div class="pages">
# item
<div class="infomation">{*}<a href="{%}" target="_blank">{%}</a>{*}<p class='pubtimes'>{%}</p>{*}</div>

# title
{%2} | {%3}
# link
{%1}

2.2 RENAME

取一个可读性好的名字,比如:https://feed43.com/arch_notes-weixin.xml

记住可编辑的地址备用,https://feed43.com/feed.html?name=arch_notes-weixin

III. 生成带摘要的文章列表 http://fivefilters.org/content-only/

http://fivefilters.org/content-only/

https://gist.github.com/hit1024/5ce505072ec37ae931d416b074957eeb

Comments
Write a Comment