IsraNET.info Main Project page Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
22-05-2012, 23:26
Начало Помощь Board Rules RSS Feeds Поиск Войти Регистрация
Новости: Если у Вас нет русскоязычной клавиатуры, пожалуйста, воспользуйтесь переводчиком с транслита

Форум IsraNET.info  |  Наш проект  |  Работа форума  |  Тема: Новости форума. В формате RSS. « предыдущая тема следующая тема »
Страниц: [1] Вниз Отправить эту тему Печать
Автор Тема: Новости форума. В формате RSS.  (Прочитано 173583 раз)
xtuff
Админы
Живу я здесь
*****
Offline Offline

Сообщений: 406

Незлобный админ


WWW
« : 18-04-2006, 20:34 »

Вы можете получать последние сообщения с форума в  формате:

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!


« Последнее редактирование: 18-04-2006, 21:53 от xtuff » Записан
Страниц: [1] Вверх Отправить эту тему Печать 
Форум IsraNET.info  |  Наш проект  |  Работа форума  |  Тема: Новости форума. В формате RSS. « предыдущая тема следующая тема »
Перейти в:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006, Simple Machines Valid XHTML 1.0! Valid CSS!