19-04-2024, 08:02

Новости:

Сайт и форум IsraNET.info продается. Подробности здесь.


Новости форума. В формате RSS.

Автор xtuff, 18-04-2006, 20:34

« предыдущая тема - следующая тема »
Вниз

xtuff

18-04-2006, 20:34 Последнее редактирование: 18-04-2006, 21:53 от xtuff
Вы можете получать последние сообщения с форума в  формате:

XML или RSS

А вот более подробно (пока что по-английски. Будет время переведу)

All of the XML content is accessed via the ".xml" action... To get RSS or RSS2 out of that (not viewable in most browsers), add ";type=rss" or ";type=rss2" to that URL.

The default feed is the 5 most recent posts:
http://www.isranet.info/forum/index.php?action=.xml

There are several "sub-actions" available to this action, specifying exactly what to display:

Recent Posts (displays the most recent posts that you can see)
"Sub-action": recent
Default: Shows 5 most recent posts
Available options:
limit=x - display the "x" most recent posts (if number is less than 5, it will display 5. If number is larger than 255, it will display 255).
board=y - display only the recent posts from board "y"
Example: http://www.isranet.info/forum/index.php?action=.xml;sa=recent;board=2;limit=10

News (displays the first post from the most recent topics that you can see)
"Sub-action": news
Available options:
limit=x - display only "x" items
board=y - display only news topics from board "y"
Example: http://www.isranet.info/forum/index.php?action=.xml;sa=news;board=2;limit=10

Profile (displays the "profile summary" data in a nice XML feed for the specified user)
"Sub-action": profile
Required option:
u=x - display the profile info for user whose ID is "x"
Example: http://www.isranet.info/forum/index.php?action=.xml;sa=profile;u=1

Now - you're probably wondering what you can do with this. Quite a bit actually.

You can also subscribe to these feeds through an XML reader, Firefox, Thunderbird or any other software that supports XML or RSS feeds (note - Outlook and Outlook Express do not support this...) - you will need to have either "type=rss" or "type=rss2" somewhere in the URL for it to work. If you would like to know how to set this up in Firefox or Thunderbird, let me know. Enjoy!



Вверх