Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(route/huggingface): sanitize pubDate to capture correct blog publication date #17016

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

jhcao1024
Copy link
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/huggingface/blog-zh

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

  • Changed pubDate attribute from item.blog.date (which doesn't exist in the parsed JSON) to item.blog.publishedAt to correctly capture a blog's publication date.

@github-actions github-actions bot added the Route label Oct 6, 2024
Copy link
Contributor

github-actions bot commented Oct 6, 2024

Successfully generated as following:

http://localhost:1200/huggingface/blog-zh - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Huggingface 中文博客</title>
    <link>https://huggingface.co/blog/zh</link>
    <atom:link href="http://localhost:1200/huggingface/blog-zh" rel="self" type="application/rss+xml"></atom:link>
    <description>Huggingface 中文博客 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>contact@rsshub.app (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Sun, 06 Oct 2024 21:08:08 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>现在 Llama 具备视觉能力并可以在你的设备上运行 - 欢迎 Llama 3.2</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/llama32</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/llama32</guid>
      <pubDate>Wed, 25 Sep 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Hugging Face 论文平台 Daily Papers 功能全解析</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/daily-papers</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/daily-papers</guid>
      <pubDate>Mon, 23 Sep 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>1.58 万亿参数的极端量化</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/1_58_llm_extreme_quantization</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/1_58_llm_extreme_quantization</guid>
      <pubDate>Wed, 18 Sep 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Accelerate 1.0.0</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/accelerate-v1</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/accelerate-v1</guid>
      <pubDate>Fri, 13 Sep 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>通过打包 Flash Attention 来提升 Hugging Face 训练效率</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/packing-with-FA2</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/packing-with-FA2</guid>
      <pubDate>Wed, 21 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>一次失败的实验——无限注意力,我们为什么坚持实验</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/infini-attention</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/infini-attention</guid>
      <pubDate>Wed, 14 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>ggml 简介</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/introduction-to-ggml</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/introduction-to-ggml</guid>
      <pubDate>Tue, 13 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Falcon Mamba: 首个高效的无注意力机制 7B 模型</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/falconmamba</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/falconmamba</guid>
      <pubDate>Mon, 12 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>对 LLM 工具使用进行统一</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/unified-tool-use</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/unified-tool-use</guid>
      <pubDate>Mon, 12 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>XetHub 加入 Hugging Face!</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/xethub-joins-hf</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/xethub-joins-hf</guid>
      <pubDate>Thu, 08 Aug 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Google 最新发布:Gemma 2 2B、ShieldGemma 和 Gemma Scope</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/gemma-july-update</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/gemma-july-update</guid>
      <pubDate>Wed, 31 Jul 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>基于 Quanto 和 Diffusers 的内存高效 transformer 扩散模型</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/quanto-diffusers</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/quanto-diffusers</guid>
      <pubDate>Tue, 30 Jul 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>LAVE:使用 LLM 对 Docmatix 进行零样本 VQA 评估 - 我们还需要微调吗?</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/zero-shot-vqa-docmatix</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/zero-shot-vqa-docmatix</guid>
      <pubDate>Thu, 25 Jul 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Llama 3.1:405B/70B/8B 模型的多语言与长上下文能力解析</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/llama31</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/llama31</guid>
      <pubDate>Tue, 23 Jul 2024 00:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Docmatix - 超大文档视觉问答数据集</title>
      <description></description>
      <link>https://huggingface.co/blog/zh/docmatix</link>
      <guid isPermaLink="false">https://huggingface.co/blog/zh/docmatix</guid>
      <pubDate>Thu, 18 Jul 2024 00:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>

@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Oct 6, 2024
@TonyRL TonyRL merged commit 8a60688 into DIYgod:master Oct 6, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants