Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Помощь в создании RSS-канала для wincmd.ru

 
Post new topic   Reply to topic    Total Commander Forum Index -> Сайт Все о Total Commander printer-friendly view
View previous topic :: View next topic  
Author Message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Sun Jan 09, 2005 14:31    Post subject: Помощь в создании RSS-канала для wincmd.ru Reply with quote

Готов создать RSS-канал. Но честно говоря нет ни времени ни желания разбираться в том, как его делать. Поэтому необходима помощь в его создании.

Если кто-нибудь сможет шаблон канала и пришлет его мне - канал будет, если нет - то будет очень не скоро.

Мне нужно что то типа того:

Code:

<XMMMMML не знаю какой код, много там его ./>
<разные теги которых я незнаю />
<здесь название плагина>
<здесь версия>
<здесь описание>
<здесь ссылка>
</закрыаем все теги>


А я напишу PHP скриптик генерирующий RSS канал. Т.е. вставлю то что нужно на месте меток.
Back to top
View user's profile Send private message
Леха



Joined: 15 Dec 2004
Posts: 38
Location: aus Moskau

Post (Separately) Posted: Mon Jan 10, 2005 20:11    Post subject: Reply with quote

а я те уже предлагал помощь...
Code:
<?xml version="1.0" ?>
<rss version="2.0">
<channel>
<title>Total Commander news: all new plugins</title>
<link>http://wincmd.ru</link>
<description>Total Commander news</description>
<language>en-us</language>
<copyright>Copyright &amp;copy;Wincmd.ru. All rights reserved.</copyright>
<pubDate>Sat, 05 Jun 2004 02:40:19 PDT</pubDate>
<lastBuildDate>Sat, 05 Jun 2004 02:40:19 PDT</lastBuildDate>
<category domain="syndic8">14171</category>
<category>Total Commander news</category>
<generator>Wincmd.ru</generator>
<docs>http://wicmd.ru/</docs>


<item>
<title>Linux gets trial &apos;NX&apos; security support</title>
<link>http://news.com.com/Linux+gets+trial+%27NX%27+security+support/2100-7344_3-5227102.html?part=rss&amp;tag=feed&amp;subj=news</link>
<description></description>
<category>Enterprise Software</category>
<guid isPermaLink="false">http://news.com.com/Linux+gets+trial+%27NX%27+security+support/2100-7344_3-5227102.html</guid>
<pubDate>Fri, 04 Jun 2004 17:19:00 PDT</pubDate>
</item>


</channel>
</rss>
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Sun Feb 13, 2005 21:35    Post subject: Reply with quote

Леха
Quote:
Fri, 04 Jun 2004 17:19:00 PDT

А дата должна быть именно в таком формате?

вот сделал что-то для тестирования http://wincmd.ru/rss.xml

И еще как RSS-программа проверяет какая новость обновилась а какая нет? Сколько последних плагинов в RSS.XML должно быть?

В общем если кто-хочет RSS-канал - помогайте Smile
Back to top
View user's profile Send private message
CaptainFlint



Joined: 14 Dec 2004
Posts: 6151
Location: Москва

Post (Separately) Posted: Sun Feb 13, 2005 21:39    Post subject: Reply with quote

А что хоть вообще такое - RSS канал? Smile
Back to top
View user's profile Send private message
Леха



Joined: 15 Dec 2004
Posts: 38
Location: aus Moskau

Post (Separately) Posted: Mon Mar 14, 2005 20:20    Post subject: Reply with quote

спецификация RSS http://blogs.law.harvard.edu/tech/rss

пример:
Code:
<rss version="2.0">
-
   <channel>
<title>Liftoff News</title>
<link>http://liftoff.msfc.nasa.gov/</link>
<description>Liftoff to Space Exploration.</description>
<language>en-us</language>
<pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate>
<lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Weblog Editor 2.0</generator>
<managingEditor>editor@example.com</managingEditor>
<webMaster>webmaster@example.com</webMaster>
-
   <item>
<title>Star City</title>
-
   <link>
http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp
</link>
-
   <description>
How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's <a href="http://howe.iki.rssi.ru/GCTC/gctc_e.htm">Star City</a>.
</description>
<pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
-
   <guid>
http://liftoff.msfc.nasa.gov/2003/06/03.html#item573
</guid>
</item>
-
   <item>
-
   <description>
Sky watchers in Europe, Asia, and parts of Alaska and Canada will experience a <a href="http://science.nasa.gov/headlines/y2003/30may_solareclipse.htm">partial eclipse of the Sun</a> on Saturday, May 31st.
</description>
<pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
-
   <guid>
http://liftoff.msfc.nasa.gov/2003/05/30.html#item572
</guid>
</item>
-
   <item>
<title>The Engine That Does More</title>
-
   <link>
http://liftoff.msfc.nasa.gov/news/2003/news-VASIMR.asp
</link>
-
   <description>
Before man travels to Mars, NASA hopes to design new engines that will let us fly through the Solar System more quickly.  The proposed VASIMR engine would do that.
</description>
<pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
-
   <guid>
http://liftoff.msfc.nasa.gov/2003/05/27.html#item571
</guid>
</item>
-
   <item>
<title>Astronauts' Dirty Laundry</title>
-
   <link>
http://liftoff.msfc.nasa.gov/news/2003/news-laundry.asp
</link>
-
   <description>
Compared to earlier spacecraft, the International Space Station has many luxuries, but laundry facilities are not one of them.  Instead, astronauts have other options.
</description>
<pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
-
   <guid>
http://liftoff.msfc.nasa.gov/2003/05/20.html#item570
</guid>
</item>
</channel>
</rss>
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Mon Apr 04, 2005 16:33    Post subject: Reply with quote

RSS-канал релиз!
http://wincmd.ru/rss.xml
Back to top
View user's profile Send private message
Сергеич



Joined: 15 Dec 2004
Posts: 152

Post (Separately) Posted: Mon Apr 04, 2005 20:25    Post subject: Reply with quote

Гип-гип-ура!
Внезапно сегодня моя Опера определила его. Хотя я не видел ни линков на РСС, ни новостей. Этот топик я увидел значительно позже.
Как это Опера вычислила??

А РСС на новые темы в форуме может тоже реально?
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Tue Apr 05, 2005 01:00    Post subject: Reply with quote

Сергеич
Quote:
А РСС на новые темы в форуме может тоже реально?

Реально в принципе.
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Tue Apr 05, 2005 01:03    Post subject: Reply with quote

Quote:
Внезапно сегодня моя Опера определила его. Хотя я не видел ни линков на РСС, ни новостей. Этот топик я увидел значительно позже.
Как это Опера вычислила??

Это делается так:

Code:
<link rel="alternate" type="application/rss+xml" title="TOTALCMD.NET" href="http://www.totalcmd.net/rss.xml" />


т.е. в заголовке страницы указывается, что у нее есть RSS-канал, и продвинутые браузеры видят это.
Back to top
View user's profile Send private message
Timofey



Joined: 20 Jan 2005
Posts: 8

Post (Separately) Posted: Tue Apr 05, 2005 16:04    Post subject: Reply with quote

Ergo, добавь тег pubDate в Item, а то дата публикации новости не показывается.
Back to top
View user's profile Send private message
Ergo
Site Admin


Joined: 14 Dec 2004
Posts: 430

Post (Separately) Posted: Wed Apr 13, 2005 20:08    Post subject: Reply with quote

Timofey
Quote:
Ergo, добавь тег pubDate в Item, а то дата публикации новости не показывается.

Добавил. Теперь показывается?
Back to top
View user's profile Send private message
Timofey



Joined: 20 Jan 2005
Posts: 8

Post (Separately) Posted: Thu Apr 14, 2005 23:53    Post subject: Reply with quote

Ergo
Да, теперь показывается.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Сайт Все о Total Commander All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group