TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Sitemap2Feed – Convert an online sitemap to Atom, RSS and JSON feeds

55 点作者 midzer将近 2 年前

6 条评论

benatkin将近 2 年前
It sounds like a good idea to make it easy for more sites to have an RSS feed.<p>Here is the code. It&#x27;s pretty impressive how simple it is. It uses a library to read in the sitemap and loop through each link, and map the content and output a feed entry.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;midzer&#x2F;sitemap2feed&#x2F;blob&#x2F;master&#x2F;main.go">https:&#x2F;&#x2F;github.com&#x2F;midzer&#x2F;sitemap2feed&#x2F;blob&#x2F;master&#x2F;main.go</a>
matricaria将近 2 年前
I little documentation would be great. What does it do and how does it work?<p>Would this run on a server and fetch the sitemap? Or could this be implemented into an RSS reader?
评论 #36646487 未加载
Reptur将近 2 年前
This is handy, but the XML URL needs to be definable also maybe output location.<p>Something like:<p><pre><code> go run main.go -sitemap=https:&#x2F;&#x2F;example.com&#x2F;sitemap.xml -output=~&#x2F;some&#x2F;folder </code></pre> Also I&#x27;d print out the file paths of the newly created files as they get saved for better user feedback.
评论 #36651400 未加载
isuleman将近 2 年前
Would be good if you add installing&#x2F;running instructions and maybe binary relase...
dflock将近 2 年前
This is a really great idea - wish I&#x27;d thought of it!
ahaapple将近 2 年前
This tool is exactly what I was looking for!