Code Monkey home page Code Monkey logo

actions-readme-feed's Introduction

actions-readme-feed's People

Contributors

dependabot[bot] avatar flcdrg avatar hrtk92 avatar sarisia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

actions-readme-feed's Issues

Add support for 'guid' property

For some reason, Meetup stopped including a link property in their RSS feeds.

eg. https://feeds.feedburner.com/adnug-events

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"><channel>
<title><![CDATA[Events - Adelaide .NET User Group]]></title>
<link><![CDATA[http://www.meetup.com/Adelaide-dotNET/events/]]></link>
<description><![CDATA[Events - Adelaide .NET User Group]]></description>
<copyright>Copyright 2002-2014 Meetup, Inc.</copyright>
<lastBuildDate>Wed, 11 Jan 2023 05:30:09 EST</lastBuildDate>
<managingEditor>[email protected] (Meetup)</managingEditor>
<item>
<title><![CDATA[How do I get rid of my ifs, with Calvin Hong]]></title>
<guid isPermaLink="true">https://www.meetup.com/adelaide-dotnet/events/290867786/</guid>
<description><![CDATA[<p><img style="float:left; margin-right:4px" src="https://secure.meetupstatic.com/photos/event/8/9/8/6/event_441815206.jpeg" alt="photo" class="photo" />Adelaide .NET User Group</p> <p><p>An in-person and online event!</p> <p>**How do I get rid of my ifs**<br/>You've been bashing your head against a wall for 5 hours trying to figure out what went wrong. Suddenly you remember what you were thinking when you wrote this code 2 years ago.</p> <p>"But an if statement would be so easy here," you had said. "Nobody will look at this anyway," you had said.</p> <p>Past you was a real jerk, weren't they?!</p> <p>Find out more in this short video! (<a href="https://www.youtube.com/watch?v=jKUmNMcLkpw" target="_blank">https://www.youtube.c...</a>" class="embedded"><a href="https://www.youtube.com/watch?v=jKUmNMcLkpw](https://www.youtube.com/watch?v=jKUmNMcLkpw" target="_blank">https://www.youtube.c...</a></a>)</p> <p>This is an in-person event. Virtual attendance will also available. The link for online attendance will be sent out to registered attendees a day before.</p> <p>Pizzas provided by Encode Talent 🍕🍕</p> <p>Thanks to (<a href="https://www.encodetalent.com.au/" class="linkified"><a href="https://www.encodetalent.com.au/" target="_blank">https://www.encodetal...</a></a>) and (<a href="https://www.taptu.com.au/" class="linkified"><a href="https://www.taptu.com.au/" target="_blank">https://www.taptu.com...</a></a>)!</p> </p> <p>Adelaide - Australia</p> <p>Wednesday, February 8 at 5:30 PM</p> <p>27</p> <p>https://www.meetup.com/adelaide-dotnet/events/290867786/</p> ]]></description>
<pubDate>Wed, 11 Jan 2023 05:30:09 EST</pubDate>
</item>
</channel></rss>

There is a guid property that does contain the URL, so exposing that would be a good fallback.

Allow for empty feeds to be a non-error

I'm referencing a feed from our Meetup group. When we don't have meeting scheduled in the future then the RSS feed as no items. I'd like this not to raise an error.

List item: separate items for blank line.

problem

Qiita post rss feed is split.

see view and source

rendered html source copy

<ul>
<li>
<p>Nov 19: <a href="https://qiita.com/tsuyoshi_cho/items/756818c2e430a6635010" rel="nofollow">Vimプラグイン開発でCI</a></p>
</li>
<li>
<p>Nov 03: <a href="https://qiita.com/tsuyoshi_cho/items/bdade529e8ebc2a05b6a" rel="nofollow">vim-jpの活動とプラグインとヘルプファイル</a></p>
</li>
<li>
<p>Aug 28: <a href="https://qiita.com/tsuyoshi_cho/items/01b772da7fda2f1c3ce7" rel="nofollow">git のマージコンフリクト時の BASE,LOCAL,REMOTE</a></p>
</li>
<li>
<p>Apr 10: <a href="https://qiita.com/tsuyoshi_cho/items/9af7a81cc51af17a611f" rel="nofollow">Travis OrgからComへの変更</a></p>
</li>
<li>
<p>Mar 30: <a href="https://qiita.com/tsuyoshi_cho/items/d9f077c2c1b075f2b99e" rel="nofollow">gitのやりなおし、特殊ケース</a></p>
</li>
</ul>

solution

Markdown,asciidoc and other, list item need no separate items for blank line.
(Because, these items around p - 1 paragraph per item.)

GitHub Action support multi-line text, if user need split line to show you how to use it.
(multi-line example)

example

no blank

  • a
  • b
  • c
- a
- b
- c

at blank

  • a

  • b

  • c

- a

- b

- c

Ordering feed by date

Not all rss feeds are ordered by date. Would it be possible to order them by pubDate?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.