Recent

Author Topic: RSS feed for Lazarus IDE announcements?  (Read 7837 times)

EricGrange

  • New Member
  • *
  • Posts: 13
RSS feed for Lazarus IDE announcements?
« 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?

il2

  • New member
  • *
  • Posts: 7
Re: RSS feed for Lazarus IDE announcements?
« Reply #1 on: April 21, 2016, 02:09:29 pm »
That was me who asked you Eric :)

and this is my question regarding the problem.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9791
  • Debugger - SynEdit - and more
    • wiki
Re: RSS feed for Lazarus IDE announcements?
« Reply #2 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.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: RSS feed for Lazarus IDE announcements?
« Reply #3 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 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.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9791
  • Debugger - SynEdit - and more
    • wiki
Re: RSS feed for Lazarus IDE announcements?
« Reply #4 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


BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
Re: RSS feed for Lazarus IDE announcements?
« Reply #5 on: April 21, 2016, 07:38:50 pm »
Unrelated, but I just added a RSS feed to my personal webpage this week

il2

  • New member
  • *
  • Posts: 7
« Last Edit: April 21, 2016, 09:30:58 pm by il2 »

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: RSS feed for Lazarus IDE announcements?
« Reply #7 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/, which is rather orphaned, if not deserted).
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

il2

  • New member
  • *
  • Posts: 7
Re: RSS feed for Lazarus IDE announcements?
« Reply #8 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.

EricGrange

  • New Member
  • *
  • Posts: 13
Re: RSS feed for Lazarus IDE announcements?
« Reply #9 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.

il2

  • New member
  • *
  • Posts: 7
Re: RSS feed for Lazarus IDE announcements?
« Reply #10 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