Streetfighters.lv
Ikdiena => Tērzētava => Topic started by: Silence on March 26, 2015, 22:58:00
-
Intereseeja vai shim forumam RSS administratori :muri: taisaas kaut kad aktivizeet?
-
KAs ir RSS? :aiwa:
-
Ja godīgi tad līdz šim par to nebiju pat iedomājies.
Pats RSSus neizmantoju(kautkad nedaudz esmu izmantojis).
Bet nu piešķīlu RSS.
URL options for showing XML content All of the XML content is accessed via the ".xml" action... Other formats can be achieved by adding one of the following to the URL:
type=atom - Atom (http://en.wikipedia.org/wiki/Atom_%28standard%29)
type=rdf - RDF (http://en.wikipedia.org/wiki/Resource_Description_Framework)
type=rss - RSS 0.91
type=rss2 - RSS 2.0
The default feed is the 5 most recent posts: http://streetfighters.lv/index.php?action=.xml (http://streetfighters.lv/index.php?action=.xml)
Sub-actions Add sa=<sub-action> to the URL query string to use these sub-actions.
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"
boards=x,y,z - display only the recent posts from the specified boards
c=x or c=x,y,z - display only the recent posts from boards in the specified category/categories
Example: http://streetfighters.lv/index.php?action=.xml;sa=recent;board=1;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"
boards=x,y,z - display only news topics from the specified boards
c=x or c=x,y,z - display only news topics from boards in the specified category/categories
Example: http://streetfighters.lv/index.php?board=1.0?action=.xml;sa=news;board=1;limit=10
Members Displays most recent members:
Sub-action: members
Available options: limit=x - display only the "x" most recent members
Example: http://streetfighters.lv/index.php?action=.xml;sa=members;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://streetfighters.lv/index.php?action=.xml;sa=profile;u=1
How to use RSS feeds Now - you're probably wondering what you can do with this. Quite a bit actually.
You can syndicate this stuff by giving people these URLs to use on their sites. They will need to have their own RSS parser to deal with. They can use CaRP (php-based) or PHP's XML Parser Functions. You can use one of several free sites that will parse the feeds for your users, including www.rss2javascript.com and www.feedburner.com.
You and your members 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...) - use either "type=rss" or "type=rss2" somewhere in the URL.
Sīkāk: http://wiki.simplemachines.org/smf/XML_feeds
-
Laikam, 4 gadus forums griezjas. Sen bija laiks. Un ieteiktu updateitot dzineeju arii. Citaadi veel saniezees nagi un serveriits buus otraadi :yo:
-
Jā, ir uz ko atjaunināt, bet kaut kā rokas neaizsniedzas. Gana daudz custom lietas jāportē.
-
Skaties. Vajag Git izmantot, tad nebuus tik loti jaamocaas. Slikts administrators - administrators, kuram neruup droshiiba.
-
Rūp - laiks trūkst.
Nav jau tā, ka nestāvētu SVN un GIT serveri, bet šis forums tur kaut kā nedzīvo un ir atšķirības arī starp versijas vanilla kodu. Pa bišķim darot jau tik izdari un nedomā par to. :aiwa: Pa lielam jau vajag tam veltīt laiku un viss.
-
Kaarteejie attaisnojumi >:D
-
Šitais topiks jāpārsauc kaut kādā binārajā kodā, jo te pikseļgalvas mētājas ar virtuālajām gudrībiņām :D
-
rss,... kaut kas saistīts ar Rīgas satiksmi?
???
-
Kaarteejie attaisnojumi >:D
Tev ir visas iespējas palīdzēt bezpeļņas, brīvā laika tēriņa forumam kvalitatīvākam :bigok: Būsim tikai priecīgi par jaunām fīčām. Starp citu - mums ļoti noderētu arī Streetfighters.lv mobilā aplikācija. Ja ir laiks - vēlme palīdzēt PM.
-
Starp citu - mums ļoti noderētu arī Streetfighters.lv mobilā aplikācija.
Tapatalk - https://tapatalk.com/