Spaces:
Runtime error
Runtime error
Update README and HF UI.
Browse files- README.md +1 -1
- assets/html.py +10 -5
- rss_server.py +1 -1
README.md
CHANGED
|
@@ -12,4 +12,4 @@ tags:
|
|
| 12 |
|
| 13 |
[](https://github.com/gperdrizet/rss-mcp-server/actions/workflows/publish_hf_space.yml)
|
| 14 |
|
| 15 |
-
RSS feed reader Model Context Protocol server.
|
|
|
|
| 12 |
|
| 13 |
[](https://github.com/gperdrizet/rss-mcp-server/actions/workflows/publish_hf_space.yml)
|
| 14 |
|
| 15 |
+
RSS feed reader Model Context Protocol server: try it on [HuggingFace Spaces](https://huggingface.co/spaces/Agents-MCP-Hackathon/rss-mcp-server)
|
assets/html.py
CHANGED
|
@@ -10,7 +10,16 @@ TITLE = (
|
|
| 10 |
|
| 11 |
DESCRIPTION = (
|
| 12 |
'''
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
<h2>Tools</h2>
|
| 16 |
|
|
@@ -19,9 +28,5 @@ DESCRIPTION = (
|
|
| 19 |
article titles, links and a generated summary of content if avalible</li>
|
| 20 |
<li><b>TODO</b> Simple RAG on requested RSS feed content</li>
|
| 21 |
</ol>
|
| 22 |
-
|
| 23 |
-
For now, we dump the extracted RSS title, link and summary below. Try asking for a
|
| 24 |
-
feed by website name, website URL, or entering your favorite feed URI directly.
|
| 25 |
-
Suggestions: http://openai.com/news/rss.xml, hackernews.com, slashdot, etc
|
| 26 |
'''
|
| 27 |
)
|
|
|
|
| 10 |
|
| 11 |
DESCRIPTION = (
|
| 12 |
'''
|
| 13 |
+
<p>RSS feed reader MCP server. See
|
| 14 |
+
<a href="https://huggingface.co/spaces/Agents-MCP-Hackathon/rss-mcp-client">Agentic RSS reader</a>
|
| 15 |
+
for a demonstration. Check out the
|
| 16 |
+
<a href="https://github.com/gperdrizet/MCP-hackathon/tree/main">main project repo on GitHub</a>.
|
| 17 |
+
Both Spaces by <a href="https://www.linkedin.com/in/gperdrizet">George Perdrizet</a>.</p>
|
| 18 |
+
|
| 19 |
+
<p>This Space is not meant to be used directly, but you can try out the bare tool below.
|
| 20 |
+
Enter a website name, website URL, or favorite feed URI. The tool will do it's best
|
| 21 |
+
to find the feed and return titles, links and summaries for the three most recent posts.
|
| 22 |
+
Suggestions: http://openai.com/news/rss.xml, hackernews.com, slashdot, etc.</p>
|
| 23 |
|
| 24 |
<h2>Tools</h2>
|
| 25 |
|
|
|
|
| 28 |
article titles, links and a generated summary of content if avalible</li>
|
| 29 |
<li><b>TODO</b> Simple RAG on requested RSS feed content</li>
|
| 30 |
</ol>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
'''
|
| 32 |
)
|
rss_server.py
CHANGED
|
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
|
|
| 35 |
|
| 36 |
gr.Markdown(html.DESCRIPTION)
|
| 37 |
website_url = gr.Textbox('hackernews.com', label='Website')
|
| 38 |
-
output = gr.Textbox(label='RSS
|
| 39 |
submit_button = gr.Button('Submit')
|
| 40 |
|
| 41 |
submit_button.click( # pylint: disable=no-member
|
|
|
|
| 35 |
|
| 36 |
gr.Markdown(html.DESCRIPTION)
|
| 37 |
website_url = gr.Textbox('hackernews.com', label='Website')
|
| 38 |
+
output = gr.Textbox(label='RSS entries', lines=10)
|
| 39 |
submit_button = gr.Button('Submit')
|
| 40 |
|
| 41 |
submit_button.click( # pylint: disable=no-member
|