-
Notifications
You must be signed in to change notification settings - Fork 8.9k
feat(route): add Always Control news route #20522
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
base: master
Are you sure you want to change the base?
Conversation
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Failed ❌ |
- Convert news.js to news.ts with proper Route type - Convert radar.js to radar.ts - Add namespace.ts for route registration - Fix route handler to export route object with metadata - Route now working correctly with RSSHub system
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Thu, 20 Nov 2025 07:29:43 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header class="mb-[47px]"><h1 class="text-[24px] mb-[14px] font-bold">圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time datetime="2025-05-05" class="text-[#808080] text-[16px]">2025-05-05</time></header><div class="w-[945px]"><div class="mt-[35px] mb-[48px] leading-[30px] text-[16px]"><p class="mb-[30px]">第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p class="mb-[30px]">本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><figure class="mb-[40px]"><img alt="旭衡在广交会展位展示" loading="lazy" width="1267" height="950" decoding="async" data-nimg="1" class="w-full rounded-lg" style="color:transparent" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></figure><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p class="mb-[30px]">本次展会,旭衡首次发布三大核心产品线:</p><div class="bg-gray-50 p-[30px] rounded-lg mb-[40px]"><div class="mb-[25px]"><div class="flex items-center mb-[15px]"><span class="text-green-600 text-[20px] mr-[10px]">✓</span><span class="font-semibold text-[18px]">Neuron II:</span></div><p class="ml-[30px] leading-[28px]">支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div class="mb-[25px]"><div class="flex items-center mb-[15px]"><span class="text-green-600 text-[20px] mr-[10px]">✓</span><span class="font-semibold text-[18px]">Neuron III:</span></div><p class="ml-[30px] leading-[28px]">Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div class="flex items-center mb-[15px]"><span class="text-green-600 text-[20px] mr-[10px]">✓</span><span class="font-semibold text-[18px]">Neuron 云平台:</span></div><p class="ml-[30px] leading-[28px]">Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><figure class="mb-[40px]"><img alt="产品展示和客户交流现场" loading="lazy" width="2160" height="1494" decoding="async" data-nimg="1" class="w-full rounded-lg" style="color:transparent" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></figure><p class="mb-[40px]">展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p class="mb-[40px]">展会期间,旭衡与全球各种客户进行深度对话:</p><figure class="mb-[40px]"><img alt="产品展示和客户交流现场" loading="lazy" width="1080" height="809" decoding="async" data-nimg="1" class="w-full rounded-lg" style="color:transparent" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></figure><figure class="mb-[40px]"><img alt="产品展示和客户交流现场" loading="lazy" width="1267" height="950" decoding="async" data-nimg="1" class="w-full rounded-lg" style="color:transparent" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></figure><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p class="mb-[40px] text-center italic">"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p class="mb-[40px]">每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><figure class="mb-[40px]"><img alt="产品展示和客户交流现场" loading="lazy" width="2160" height="1484" decoding="async" data-nimg="1" class="w-full rounded-lg" style="color:transparent" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></figure><div class="text-center mb-[40px]"><p class="text-[18px] font-semibold">• <!-- -->结语<!-- --> •</p></div><p class="mb-[40px]">春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
lib/routes/alwayscontrol/README.md
Outdated
| @@ -0,0 +1,40 @@ | |||
| # Always Control | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless file. Put the description inside Route['description'] instead.
lib/routes/alwayscontrol/news.ts
Outdated
| handler, | ||
| radar: [ | ||
| { | ||
| source: ['/zh-CN/news/list', '/'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| source: ['/zh-CN/news/list', '/'], | |
| source: ['www.alwayscontrol.com.cn/zh-CN/news/list', '/'], |
lib/routes/alwayscontrol/news.ts
Outdated
| // 处理图片URL | ||
| const processedContent = content.replaceAll(/src="(\/[^"]+)"/g, `src="${baseUrl}$1"`); | ||
|
|
||
| item.description = processedContent; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not include the title and the pubDate in description. They belong to their own property.
lib/routes/alwayscontrol/radar.ts
Outdated
| @@ -0,0 +1,13 @@ | |||
| export default { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Useless file. Put the radar inside Route['radar'] instead.
根据 @TonyRL 的审核反馈进行以下修改: 1. 删除 README.md 文件(文档已在 radar 和 route 中定义) 2. 删除独立的 radar.ts 文件,将 radar 配置内联到 route 定义中 3. 优化 radar source,仅保留新闻列表页 /zh-CN/news/list 4. 移除 description 中的 title 和 pubDate(已在 RSS item 独立字段中) 5. 清理 HTML 样式,移除 class/style 等 RSS 阅读器不支持的属性 6. 简化图片标签结构,提升 RSS 阅读器兼容性 测试状态:✅ 本地测试通过
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Fri, 21 Nov 2025 01:26:42 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header><h1>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time>2025-05-05</time></header><div><div><p>第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div><p>• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p>本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><p><img alt="旭衡在广交会展位展示" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p>本次展会,旭衡首次发布三大核心产品线:</p><div><div><div><span>✓</span><span>Neuron II:</span></div><p>支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div><div><span>✓</span><span>Neuron III:</span></div><p>Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div><span>✓</span><span>Neuron 云平台:</span></div><p>Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></p><p>展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div><p>• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p>展会期间,旭衡与全球各种客户进行深度对话:</p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p>"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div><p>• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p>每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->结语<!-- --> •</p></div><p>春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
TonyRL
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#20522 (comment) is still not resolved
lib/routes/alwayscontrol/news.ts
Outdated
| // 简化图片标签:将 <figure><img></figure> 转为 <p><img></p> | ||
| $content('figure').each((_, elem) => { | ||
| const $figure = $content(elem); | ||
| const img = $figure.find('img'); | ||
| if (img.length > 0) { | ||
| $figure.replaceWith(`<p>${$content(img).toString()}</p>`); | ||
| } | ||
| }); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // 简化图片标签:将 <figure><img></figure> 转为 <p><img></p> | |
| $content('figure').each((_, elem) => { | |
| const $figure = $content(elem); | |
| const img = $figure.find('img'); | |
| if (img.length > 0) { | |
| $figure.replaceWith(`<p>${$content(img).toString()}</p>`); | |
| } | |
| }); |
lib/routes/alwayscontrol/news.ts
Outdated
| let processedContent = content.replaceAll(/src="(\/[^"]+)"/g, `src="${baseUrl}$1"`); | ||
|
|
||
| // 清理RSS阅读器不支持的样式和标签,保留核心内容 | ||
| const $content = load(processedContent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not load twice.
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Thu, 04 Dec 2025 09:12:10 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header><h1>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time>2025-05-05</time></header><div><div><p>第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div><p>• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p>本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><p><img alt="旭衡在广交会展位展示" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p>本次展会,旭衡首次发布三大核心产品线:</p><div><div><div><span>✓</span><span>Neuron II:</span></div><p>支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div><div><span>✓</span><span>Neuron III:</span></div><p>Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div><span>✓</span><span>Neuron 云平台:</span></div><p>Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></p><p>展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div><p>• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p>展会期间,旭衡与全球各种客户进行深度对话:</p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p>"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div><p>• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p>每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><p><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></p><div><p>• <!-- -->结语<!-- --> •</p></div><p>春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
- 修复 source 字段为完整域名格式 - 删除重复的 load 调用,提升代码效率 - 移除图片标签简化代码(figure转p) - 修复 import 语句:使用 type 导入并正确排序 - 符合 ESLint 规范
按照标准顺序重新排列 imports: - Type imports - 第三方库 - 内部模块(按字母顺序)
- 在类型导入后添加空行 - 按字母顺序排列模块导入 - cheerio 导入移至末尾 - 修复 GitHub Advanced Security bot 标记的 import 排序问题
- Add blank line after internal module imports - Separate third-party library import (cheerio) - Fix GitHub Advanced Security bot flagged import ordering
- Remove invalid '/' from radar source array - Fix build error: "Invalid URL: 'https:///'" - Ensure radar configuration generates valid URLs
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Wed, 17 Dec 2025 01:27:49 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header><h1>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time>2025-05-05</time></header><div><div><p>第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div><p>• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p>本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><figure><img alt="旭衡在广交会展位展示" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p>本次展会,旭衡首次发布三大核心产品线:</p><div><div><div><span>✓</span><span>Neuron II:</span></div><p>支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div><div><span>✓</span><span>Neuron III:</span></div><p>Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div><span>✓</span><span>Neuron 云平台:</span></div><p>Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></figure><p>展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div><p>• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p>展会期间,旭衡与全球各种客户进行深度对话:</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></figure><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p>"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div><p>• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p>每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->结语<!-- --> •</p></div><p>春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
- Move third-party imports (cheerio) before internal imports - Follow ESLint simple-import-sort rules: external > internal - Fix GitHub Advanced Security ESLint check failure
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Wed, 17 Dec 2025 01:52:56 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header><h1>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time>2025-05-05</time></header><div><div><p>第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div><p>• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p>本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><figure><img alt="旭衡在广交会展位展示" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p>本次展会,旭衡首次发布三大核心产品线:</p><div><div><div><span>✓</span><span>Neuron II:</span></div><p>支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div><div><span>✓</span><span>Neuron III:</span></div><p>Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div><span>✓</span><span>Neuron 云平台:</span></div><p>Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></figure><p>展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div><p>• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p>展会期间,旭衡与全球各种客户进行深度对话:</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></figure><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p>"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div><p>• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p>每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->结语<!-- --> •</p></div><p>春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
- Sort imports alphabetically as required by ESLint - Order: cache -> got -> load (cheerio) -> parseDate - Fix ESLint simple-import-sort rule violation
| import type { Route } from '@/types'; | ||
|
|
||
| import cache from '@/utils/cache'; | ||
| import got from '@/utils/got'; | ||
| import { load } from 'cheerio'; | ||
| import { parseDate } from '@/utils/parse-date'; |
Check failure
Code scanning / ESLint
Automatically sort imports. Error
|
Successfully generated as following: http://localhost:1200/alwayscontrol/news - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
<atom:link href="http://localhost:1200/alwayscontrol/news" rel="self" type="application/rss+xml"></atom:link>
<description>Always Control(旭衡电子)- 智能能源管理系统解决方案专家最新动态 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>zh-CN</language>
<image>
<url>https://www.alwayscontrol.com.cn/logo.png</url>
<title>Always Control - 最新动态</title>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/list</link>
</image>
<lastBuildDate>Wed, 17 Dec 2025 02:01:04 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</title>
<description><header><h1>圆满收官!旭衡闪耀第137届广交会,全球合作再启新章</h1><time>2025-05-05</time></header><div><div><p>第137届中国进出口商品交易会(广交会)于4月15日-5月5日圆满落幕。旭衡集团以"创新驱动·智造未来"为主题,携多款产品惊艳亮相,与全球客商共话合作,交出了一份亮眼的"成绩单"!现在,让我们一同回顾这场国际盛会的精彩瞬间!</p><div><p>• <!-- -->实力绽放,全球聚焦<!-- --> •</p></div><p>本届广交会吸引了来自216个国家和地区的148,585名境外采购商到会。旭衡展位凭借科技感十足的展陈设计、智能化产品体验区,成为展会焦点。现场接待专业客商,与欧美、东南亚、中东等地区的客户达成意向订单,全球市场布局渐添新动能。</p><figure><img alt="旭衡在广交会展位展示" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news1.ea835276.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->创新产品,引领行业潮流<!-- --> •</p></div><p>本次展会,旭衡首次发布三大核心产品线:</p><div><div><div><span>✓</span><span>Neuron II:</span></div><p>支持4G、WiFi、有线通信,还兼容多协议,更可通过接入拓展模块来增强功能,为用户提供灵活高效的连接解决方案。</p></div><div><div><span>✓</span><span>Neuron III:</span></div><p>Neuron III 配备内置计量功能,专为增强防跳闸保护而设计。适用于住宅能源管理环境,利用电力线通信(PLC)技术动态调整充电功率。</p></div><div><div><span>✓</span><span>Neuron 云平台:</span></div><p>Neuron 平台,支持APP端和Web端,凭借其开放的EMS连接能力、多样化的场景风格模板以及高度可定制化的特性,致力于为用户提供无缝对接、个性化体验的全方位服务解决方案。</p></div></div><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" referrerpolicy="no-referrer"></figure><p>展位现场通过动态演示、云平台体验,让全球客商沉浸式感受"中国智造"的硬核实力。多国采购商称赞:"旭衡的技术迭代速度远超预期!"</p><div><p>• <!-- -->深化合作,共赢未来<!-- --> •</p></div><p>展会期间,旭衡与全球各种客户进行深度对话:</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news2.d48b2ca8.png" referrerpolicy="no-referrer"></figure><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news3.9924e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->与客户进行产品介绍<!-- --> •</p></div><p>"我们不仅展示产品,更希望搭建长期合作的桥梁。"旭衡海外销售部表示。</p><div><p>• <!-- -->感恩同行,再启征程<!-- --> •</p></div><p>每一届广交会都是旭衡成长的见证。感谢新老客户的信赖,感恩团队昼夜奋战的付出!展会虽已落幕,但创新的脚步永不停歇。我们正加速推进。</p><figure><img alt="产品展示和客户交流现场" src="https://oss.alwayscontrol.net/xh-web//_next/static/media/news4.9fe1e136.png" referrerpolicy="no-referrer"></figure><div><p>• <!-- -->结语<!-- --> •</p></div><p>春华秋实,步履不停。旭衡将以广交会为起点,持续深耕技术创新,为全球伙伴提供更优质的解决方案。点击关注公众号,获取最新产品动态,期待与您共赴下一场科技之约!</p></div></div></description>
<link>https://www.alwayscontrol.com.cn/zh-CN/news/detail</link>
<guid isPermaLink="false">https://www.alwayscontrol.com.cn/zh-CN/news/detail</guid>
<pubDate>Sun, 04 May 2025 16:00:00 GMT</pubDate>
<author>旭衡电子(深圳)有限公司</author>
<enclosure url="https://oss.alwayscontrol.net/xh-web//_next/static/media/news.4f8c0dc9.png" type="image/jpeg"></enclosure>
<category>公司动态</category>
<category>最新资讯</category>
</item>
</channel>
</rss> |
Involved Issue / 该 PR 相关 Issue
N/A
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
PuppeteerNote / 说明
为 Always Control(旭衡电子)官网添加新闻动态 RSS 订阅路由。
该路由会获取官网新闻列表页的所有文章,并抓取每篇文章的完整内容,包括:
数据源: https://www.alwayscontrol.com.cn/zh-CN/news/list