FreshPorts / freshports

The website part of FreshPorts
http://www.freshports.org/
BSD 2-Clause "Simplified" License
70 stars 24 forks source link

Two FreshSource issues #228

Open grahamperrin opened 3 years ago

grahamperrin commented 3 years ago

(Is this repo good for FreshSource issues?)

Via https://www.freshsource.org/:

  1. http://docs.freebsd.org/mail/current/cvs-all.html is obsolete, according to https://lists.freebsd.org/mailman/listinfo
  2. https://www.freshsource.org/news.php does not appear to be RSS.

I would have ignored point (1) but then, I vaguely recalled (2) the RSS feed working two or three days ago. This might be a confused recollection of a feed elsewhere (!) but I'm reporting it, just in case.

dlangille commented 3 years ago

(Is this repo good for FreshSource issues?)

Yes it is, and FreshSource should have a link to here.

dlangille commented 3 years ago
  1. http://docs.freebsd.org/mail/current/cvs-all.html is obsolete, according to https://lists.freebsd.org/mailman/listinfo

Fixed by adding adding different links, mentioning subversion, and git.

See https://dev.freshsource.org

dlangille commented 3 years ago
  1. https://www.freshsource.org/news.php does not appear to be RSS.

This is what I get when I fetch it to a file: https://gist.github.com/dlangille/c92807d0a1b9a1071a6cbdd25158dce4

Although the DTD is deprecated: https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.freshsource.org%2Fnews.php

Solution: remove the DTD entirely.

This might be the issue:

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendation. Feeds should not be served with the "text/html" media type

dlangille commented 3 years ago

For the MIME type:

header("Content-Type: application/rss+xml; charset=UTF-8");

Please try again. :)

grahamperrin commented 3 years ago

I'm not getting it in Firefox.

Debatably not the best choice, since Firefox dropped support for RSS, but I typically use this extension:

– and today I enabled this:

(Off the top of your head, can you think of any browser in ports that has integral support for RSS?)

dlangille commented 3 years ago

Do you have any feeds which work in Firefox? If you do, tell me which ones and I'll compare to the FreshSource feed.

grahamperrin commented 3 years ago

Thanks, try https://freebsdfoundation.org/feed/ (referred from https://freebsdfoundation.org/) seems to work with Want My RSS

dlangille commented 3 years ago

@grahamperrin Please try https://dev.freshsource.org/news.php - I fear I was not clear about where the fix was located.

grahamperrin commented 3 years ago

Ah, got it now:

image

dlangille commented 3 years ago

Fixed in repo.

dlangille commented 3 years ago

@grahamperrin how is https://www.freshsource.org/news.php now?

grahamperrin commented 2 years ago

Sorry! I lost sight of this.

image

With that extension disabled:

image