Lazarus

Miscellaneous => Suggestions => Topic started by: EricGrange on April 21, 2016, 02:01:43 pm

Title: RSS feed for Lazarus IDE announcements?
Post by: EricGrange on April 21, 2016, 02:01:43 pm
I was asked to add Lazarus IDE announcements to https://www.beginend.net/

However there does not seem to be an RSS feed for that, the forum RSS for http://forum.lazarus.freepascal.org/index.php/board,18.0.html actually lists the last comments, not the posts.

Since http://www.lazarus-ide.org/ lists the posts, there should be a way to grab them, or is there?
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: il2 on April 21, 2016, 02:09:29 pm
That was me who asked you Eric :)

and this is my question (http://forum.lazarus.freepascal.org/index.php/topic,32214.0.html) regarding the problem.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: Martin_fr on April 21, 2016, 03:34:35 pm
You can add both of them individually?

I dont know if smf (the forum software) has such an option.

The website (lazarus-ide) polls the announcements via an API calling the php functions of smf on the same machine.

Also the website only features one of the announcements. Not sure if both is supported there.

So this is first about someone knowing, if this is possible, and how.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: jwdietrich on April 21, 2016, 06:41:43 pm
There are also extensive options of the SimpleMachines platform for XML feeds, see http://wiki.simplemachines.org/smf/XML_feeds (http://wiki.simplemachines.org/smf/XML_feeds) for details.

You may, e.g., use feed://forum.lazarus.freepascal.org/index.php?action=.xml;type=rss;board=18 for announcements in the "Lazarus" board and feed://forum.lazarus.freepascal.org/index.php?action=.xml;type=rss;board=60 for current posts in the Free Pascal topic.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: Martin_fr on April 21, 2016, 07:05:59 pm
To get all 3 announcement boards use c=7

And maybe sa=news

http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;c=7

Title: Re: RSS feed for Lazarus IDE announcements?
Post by: BeniBela on April 21, 2016, 07:38:50 pm
Unrelated, but I just added a RSS feed to my personal webpage this week
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: il2 on April 21, 2016, 09:25:20 pm
Guys, Eric for beginend aggregator needs just single news topics, not the posts under them.
http://forum.lazarus.freepascal.org/index.php?action=.xml;type=rss;board=18 - returns all posts in Announcements Lazarus board
http://forum.lazarus.freepascal.org/index.php?action=.xml;type=rss;board=60 - same in FreePascal board
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;c=7 - good shot!

I think I've got it:
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;board=18;limit=10 - Lazarus
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;board=60;limit=10 - FreePascal
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;board=19;limit=10 - Third party
or just all in one:
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;limit=10;boards=18,19,60

Thanks a lot!

To get all 3 announcement boards use c=7
And maybe sa=news
http://forum.lazarus.freepascal.org/index.php?action=.xml;sa=news;type=rss2;c=7
Ah, I see c=7 does the same - all three announcement boards belong to the c=7 category.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: jwdietrich on April 21, 2016, 11:19:25 pm
I was asked to add Lazarus IDE announcements to https://www.beginend.net/

It may be a bit off-topic, but I just visited beginend.net, and I am quite enthusiastic.

This is a very useful service. You might also consider to automatically feed new entries as tweets (or is there already a Twitter account?) and/or reddits (e.g. in the subreddit http://www.reddit.com/r/pascal/ (http://www.reddit.com/r/pascal/), which is rather orphaned, if not deserted).
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: il2 on April 22, 2016, 08:00:46 am
Thanks, I've requested both Pascal Reddit and Stack Overflow Pascal.
Still feeling enthusiastic both reading the feed and searching for more to add :)
Please feel free to "Suggest a new feed" if it is not there in the Feeds or Happenings.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: EricGrange on April 22, 2016, 12:41:52 pm
Added Lazarus IDE & Free Pascal announcements as feeds.

Lazarus Third Party, SO Pascal & Pascal reddit as forums (right bar).

> You might also consider to automatically feed new entries as tweets (or is there already a Twitter account?)

Might have a look at enabling a service for that, but twitter tends to bury news very fast, and the limited message length would make most post summaries / descriptions meaningless.

I am not fond of mirroring on Reddit (or similar) as that would just drive traffic to reddit advertisements, and move user comments away from the blogs/content producers.
This btw is one of the reason why I am not planning a comment system on beginend, or if I do, it would just be a view of the comments feed from the blogs/forums.
Title: Re: RSS feed for Lazarus IDE announcements?
Post by: il2 on April 22, 2016, 03:21:41 pm
Added Lazarus IDE & Free Pascal announcements as feeds.

Lazarus Third Party, SO Pascal & Pascal reddit as forums (right bar).
Cool! Thank you.
TinyPortal © 2005-2018