Difference between revisions of "Help:Extensions/RSS"

MyWikiBiz, Author Your Legacy — Friday December 27, 2024
Jump to navigationJump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:RSS}}
==Description==
+
=Description=
 +
You can create both inbound and outbound RSS feeds within '''[[Help:Spaces#Directory_Space|Directory]]''' listings.
 +
==Inbound==
 +
===SimplePie===
 +
To create a [http://simplepie.org/ SimplePie] inbound feed, just enter the appropriate RSS feed parameter information within the <nowiki><feed> ... </feed></nowiki> tags on the page(s) where you want provide an inbound RSS feed. See [http://www.mediawiki.org/wiki/Extension:SimpleFeed documentation] for further detailed explanations of feed options.
  
You can create both inbound and outbound RSS feeds within '''[[Centiare:Spaces#Directory_Space|Directory]]''' listings.
+
====Code====
 +
Here's an example:
 +
 
 +
<pre>
 +
<feed url="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml">
 +
== [{PERMALINK} {TITLE}] ==
 +
'''{DATE}, by {AUTHOR}'''
 +
{DESCRIPTION}
 +
</feed>
 +
</pre>
 +
 
 +
In action:
 +
<feed url="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml">
 +
== [{PERMALINK} {TITLE}] ==
 +
'''{DATE}, by {AUTHOR}'''
 +
{DESCRIPTION}
 +
</feed>
  
===Inbound===
+
===Widget===
  
To create an inbound feed, just enter the appropriate RSS file location information within the <nowiki><embed> ... </embed></nowiki> tags on the page(s) where you want provide an inbound RSS feed.
+
To create an inbound feed using a widget/gadget, just enter the appropriate RSS file location information within the <nowiki><embed> ... </embed></nowiki> tags on the page(s) where you want provide an inbound RSS feed.
  
 
====Code====
 
====Code====
Line 23: Line 43:
 
</embed>
 
</embed>
  
===Outbound===
+
==Outbound==
  
 
To create an outbound feed, just enter the appropriate page information within the <nowiki><startFeed /> ... <endFeed /></nowiki> tags on the page(s) where you want provide an outbound RSS feed. See [http://www.mediawiki.org/wiki/Extension:WikiArticleFeeds documentation] for further options.
 
To create an outbound feed, just enter the appropriate page information within the <nowiki><startFeed /> ... <endFeed /></nowiki> tags on the page(s) where you want provide an outbound RSS feed. See [http://www.mediawiki.org/wiki/Extension:WikiArticleFeeds documentation] for further options.
  
====Code====
+
===Code===
 
Here's an example:
 
Here's an example:
  
Line 45: Line 65:
  
 
~~~~
 
~~~~
 +
<endFeed />
 
</pre>
 
</pre>
  
Line 56: Line 77:
 
Brand New! I just made a new Item!
 
Brand New! I just made a new Item!
  
[[[User:Snerfling|Snerfling]] 08:06, 14 May 2007 (PDT)
+
[[User:Snerfling|Snerfling]] 13:17, 10 May 2007 (PDT)
 +
 
 
=== First Feed Item ===
 
=== First Feed Item ===
  
 
Here is the content for my first item ever.
 
Here is the content for my first item ever.
  
[[User:Snerfling|Snerfling]] 08:06, 14 May 2007 (PDT)
+
[[User:Snerfling|Snerfling]] 13:17, 10 May 2007 (PDT)
 
<endFeed />
 
<endFeed />
 +
<br>
 +
----
  
<br><br>
+
[[Page Of::Help:Extensions]]
[[Page Of::Centiare:Extensions]]
 
 
[[Extension Name:=RSS]]
 
[[Extension Name:=RSS]]
[[Category:Centiare Extensions]]
+
[[Category:MyWikiBiz Extensions]]

Latest revision as of 20:52, 26 December 2007

Description

You can create both inbound and outbound RSS feeds within Directory listings.

Inbound

SimplePie

To create a SimplePie inbound feed, just enter the appropriate RSS feed parameter information within the <feed> ... </feed> tags on the page(s) where you want provide an inbound RSS feed. See documentation for further detailed explanations of feed options.

Code

Here's an example:

<feed url="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml">
== [{PERMALINK} {TITLE}] ==
'''{DATE}, by {AUTHOR}'''
{DESCRIPTION}
</feed>

In action: <feed url="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml">

[{PERMALINK} {TITLE}]

{DATE}, by {AUTHOR} {DESCRIPTION} </feed>

Widget

To create an inbound feed using a widget/gadget, just enter the appropriate RSS file location information within the <embed> ... </embed> tags on the page(s) where you want provide an inbound RSS feed.

Code

Here's an example:

<embed>
<script language="javascript" src="http://www.rss-info.com/rss2.php?integration=js&windowopen=1&rss=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Finternet&number=10&width=300&ifbgcol=FFFFFF&bordercol=D0D0D0&textbgcol=F0F0F0&rssbgcol=F0F0F0&showrsstitle=1&showtext=1"> </script> 
</embed>

In action:

<embed> <script language="javascript" src="http://www.rss-info.com/rss2.php?integration=js&windowopen=1&rss=http%3A%2F%2Frss.news.yahoo.com%2Frss%2Finternet&number=10&width=300&ifbgcol=FFFFFF&bordercol=D0D0D0&textbgcol=F0F0F0&rssbgcol=F0F0F0&showrsstitle=1&showtext=1"> </script> </embed>

Outbound

To create an outbound feed, just enter the appropriate page information within the <startFeed /> ... <endFeed /> tags on the page(s) where you want provide an outbound RSS feed. See documentation for further options.

Code

Here's an example:

<startFeed />
Description of my feed.

=== Second Feed Item ===

Brand New! I just made a new Item!

~~~~

=== First Feed Item ===

Here is the content for my first item ever.

~~~~
<endFeed />

In action (click on the RSS feed icon in your browser bar to see results).

Description of my feed.

Second Feed Item

Brand New! I just made a new Item!

Snerfling 13:17, 10 May 2007 (PDT)

First Feed Item

Here is the content for my first item ever.

Snerfling 13:17, 10 May 2007 (PDT)


Help:Extensions RSS