Nativescript: RSS feed from the Blog

Created on 2 Jun 2020  ·  11Comments  ·  Source: NativeScript/NativeScript

I don't know if this exists already. But we couldn't find it ...

Is your feature request related to a problem? Please describe.
I've built with 2 friends a mobile app with news from most of the programming languages. This kind of app is useful to stay up-to-date with the latest changes your coding languages have to offer.

We wish to add the news from NativeScript into the app. But couldn't reach an RSS feed to pull up the latest news.

Describe the solution you'd like
An URL with an XML RSS feed on: https://nativescript.org/blog/rss.xml
Here is an example from freecodecamp: https://www.freecodecamp.org/news/rss/

Additional
If you are interested to check the app, you can find it here: https://codenews.app/

enhancement

Most helpful comment

@romeoonisim I have added a quick rss feed here: https://nativescript.org/rss.xml

It's auto-generated and includes all posts, but the order is not chronological (thought the publishDates are correct). Does this help? Any feedback is welcome!

All 11 comments

I love the idea; I personally use RSS for several of my feeds. As we are rebuilding the site and blog software we will look into adding a RSS feed.

@romeoonisim I have added a quick rss feed here: https://nativescript.org/rss.xml

It's auto-generated and includes all posts, but the order is not chronological (thought the publishDates are correct). Does this help? Any feedback is welcome!

Hey, @rigor789 thanks for this quick modification! I've added the RSS source into our database, the news was already fetched. The script expects the first news item to be the newest, because it fetches only the first 50, once a day.

LE: I've seen that this RSS includes all the links of the blog, like this one:
<link>https://nativescript.org/blog/page/9/index.html</link>
or
<link>https://nativescript.org/blog/index.html</link>

Maybe we could remove this types of links and include only the articles.

Here is a screenshot from the app:
Screenshot_2020-06-04-16-14-52-813_ro crxapps codenews

Thanks for your support guys! 👍 👏

@romeoonisim right - in that case it's slightly trickier with the current build setup. I'll see what I can do.

After noticing my apparently unofficial feed stopped working several blog posts ago, I did some investigating and found this issue.

First of all, the link seems to work fine in my rss-reader: the content is sorted and includes the latest blog posts. :+1:

However, the URL is currently not available on the main website or blog page (I always check the source first). My naive impression inspires me to provide the nudge, you shouldn't to forget to roll this feature out for others. :smile:

However, the URL is currently not available on the main website or blog page

@Adelrisk can you clarify which URL is not available?

"Not available" was imprecise.

When I view the source of https://nativescript.org/ and https://nativescript.org/blog/ and search for "rss", I do not find any results. Which is unfortunate, as the url https://nativescript.org/rss.xml seems to work and those two would be the sites I'd expect to find the RSS url.

Actually this page seems more like a sitemap 😁 it would be very helpful
for us if it would be ordered by created at descending.

On Wed, 12 Aug 2020, 20:59 Neil Crossley, notifications@github.com wrote:

"Not available" was imprecise.

When I view the source of https://nativescript.org/ and
https://nativescript.org/blog/ and search for "rss", I do not find any
results. Which is unfortunate, as the url https://nativescript.org/rss.xml
seems to work and those two would be the sites I'd expect to find the RSS
url.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NativeScript/NativeScript/issues/8606#issuecomment-673024120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIGPER3XJLJBBCTKAHHE7LSALJ7NANCNFSM4NQ7QRUA
.

@Adelrisk thanks for clarifying, I've added
html <link rel="alternate" type="application/rss+xml" title="RSS Feed for nativescript.org" href="/rss.xml">
to all pages, that I believe should be enough for RSS readers to pick up on. (If not, let me know - I haven't had enough time to dive deeper).

Other than that, the format is currently limited by the Netlify rss builder. When I have a bit more time, I'll look into generating a correctly ordered feed - though my RSS reader I've been testing with picked up the new posts based on their date - regardless of the order in the rss.xml.

This is now outside of my field of expertise, but as a general user:

Thunderbird will accept and process the direct URL: https://nativescript.org/rss.xml

When I provide it with https://nativescript.org however, something causes a different validation process, which fails with the link: https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fnativescript.org%2Fblog%2F

Only two finds cause it to be invalid: "nativescript.org" is not a valid email address for managingEditor and webMaster.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rLoka picture rLoka  ·  3Comments

OscarLopezArnaiz picture OscarLopezArnaiz  ·  3Comments

NickIliev picture NickIliev  ·  3Comments

hshristov picture hshristov  ·  3Comments

valentinstoychev picture valentinstoychev  ·  3Comments