[Plugin Request]: #142

Closed
opened 2026-02-22 17:19:53 -05:00 by yindo · 3 comments
Owner

Originally created by @Slime2025-commits on GitHub (Jul 2, 2025).

Plugin Name

sshhub

Function Description

import requests
import xml.etree.ElementTree as ET

url = 'http://localhost:1200/people/finance'
response = requests.get(url)
xml_content = response.content

root = ET.fromstring(xml_content)

解析每条新闻

for item in root.findall('./channel/item'):
title = item.find('title').text
link = item.find('link').text
pubDate = item.find('pubDate').text
print(f'标题: {title}')
print(f'链接: {link}')
print(f'发布时间: {pubDate}')
print('------')

Official Website URL

No response

Originally created by @Slime2025-commits on GitHub (Jul 2, 2025). ### Plugin Name sshhub ### Function Description import requests import xml.etree.ElementTree as ET url = 'http://localhost:1200/people/finance' response = requests.get(url) xml_content = response.content root = ET.fromstring(xml_content) # 解析每条新闻 for item in root.findall('./channel/item'): title = item.find('title').text link = item.find('link').text pubDate = item.find('pubDate').text print(f'标题: {title}') print(f'链接: {link}') print(f'发布时间: {pubDate}') print('------') ### Official Website URL _No response_
yindo closed this issue 2026-02-22 17:19:53 -05:00
Author
Owner

@jingfelix commented on GitHub (Jul 3, 2025):

I guess what you refer is RSSHub? We provide a plugin for RSSHub at https://marketplace.dify.ai/plugins/stvlynn/rsshub .

@jingfelix commented on GitHub (Jul 3, 2025): I guess what you refer is RSSHub? We provide a plugin for RSSHub at https://marketplace.dify.ai/plugins/stvlynn/rsshub .
Author
Owner

@Slime2025-commits commented on GitHub (Jul 3, 2025):

我想看看自制插件代码是怎么写的。

@Slime2025-commits commented on GitHub (Jul 3, 2025): 我想看看自制插件代码是怎么写的。
Author
Owner

@jingfelix commented on GitHub (Jul 3, 2025):

我想看看自制插件代码是怎么写的。

Please check https://docs.dify.ai/plugin-dev-zh/0111-getting-started-dify-plugin where you can find comprehensive documentaion about Dify plugin development.

@jingfelix commented on GitHub (Jul 3, 2025): > 我想看看自制插件代码是怎么写的。 Please check https://docs.dify.ai/plugin-dev-zh/0111-getting-started-dify-plugin where you can find comprehensive documentaion about Dify plugin development.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#142