PDA

View Full Version : AnimeSuki RSS & XML


NightWish
2003-11-15, 20:42
Please Note: This information was originally posted by GHDpro (http://forums.animesuki.com/member.php?u=1) on the old forum, here (http://conversion.animesuki.com/BurningBoard/thread.php?threadid=4816).

XML
For those of you who wish to syndicate the latest releases
(essentially the main page), by request I've written a XML
page to make extracting the info a lot easier (hopefully).

The page is: http://www.animesuki.com/xml.php

By default it outputs exactly the same thing as the main
page, sorted by added date. But there are a few options:

type=releases
This sorts the XML page by release date, not added date.

sortname=1
This sorts the page by filename if specified.

cutoff=Unix Timestamp
Allows you to specify how much you want to see. The value
you need to pass to this is a unix timestamp. Any torrents older
(by added or release date) than this date will not be included
in the output, hence the name "cutoff". So if you just want
the releases of the past day, you would specify:
time() - (24 * 60 * 60)
Note: The maximum cutoff is about 10 days, anything more
will not be allowed because it would use to much bandwidth if
used to much with that amount of data.

Example URL using above options:
http://www.animesuki.com/xml.php?type=releases&sortname=1&cutoff=1000000

Now I've not written any XML before, so I'm not sure if the
page can even be properly parsed at all, but IMHO it looks good.

RSS
After more requests (see below) I've now also build a RSS page.
Looking into what client applications can do with such a feed,
RSS looks VERY interesting.

The page is: http://www.animesuki.com/rss.php

One client you can use for this feed is FeedReader (http://www.feedreader.com/) (Freeware).
One very interesting option of this utility is that it can sit in the
system tray and check the RSS page in intervals (15 min by default).
If it finds a new "headline", it'll show a popup like this:
http://www.feedreader.com/images/fr7.jpg

Imagine getting notified of the latest Naruto (or whatever your
favorite series is) this way! I haven't really tested it properly,
but in theory it should work!
(Many people have since tested it ^_^ and it does indeed work really well ~ Ed)

Note: The RSS page doesn't take any options, it always lists the most
recent added torrents in the past 24 hours.

--

If you have any questions/comments, reply to this thread.

Shii
2003-11-21, 22:49
:cool:

You can also use the RSS to put an AnimeSuki feed on your homepage. Using a tool like http://www.newsisfree.com/ you can see the latest headlines from Slashdot, Kuro5hin and AnimeSuki all in one place.

Green²
2003-12-04, 21:39
:bow:

I'm currently using Desktop Sidebar (http://www.desktopsidebar.com/index.html) for the RSS feed. Screenshot (75KB) (http://server4.uploadit.org/files/051203-sidebar1a.jpg).

phattangent
2004-03-12, 14:15
I've been playing around with the XML (not RSS XML) and have successfully parsed it using php.... http://temp.pzfn.com/xmlsuki/
the filesize might be off but is approximate and i can't figure out why the release dates comeout wrong... maybe because server time is different or something...

Forse
2004-03-12, 14:30
I've been playing around with the XML (not RSS XML) and have successfully parsed it using php.... http://temp.pzfn.com/xmlsuki/
the filesize might be off but is approximate and i can't figure out why the release dates comeout wrong... maybe because server time is different or something...

I have done similar thing, but my script works a little better http://www.animeblitz.org/Temp/asripper/example.php

NightWish
2004-03-12, 14:39
Even though your page looks nicer and has all the presented information on it I think phattangent's attempt is better. Given the name of your file (asripper) and the fact it shows only Naruto torrents; I'm guessing you just filtered the Naruto series page. He on the other hand processed the XML feed as intended... So in my opinion, despite your pretty layout, his is the "better" page in this instance. :)

Anyway; back on topic -- I'm not really sure why you posted in this thread phattangent; if you want help with the script (fixing the time for example?) you might want to post in the Technology forum instead.

Forse
2004-03-12, 14:47
Even though your page looks nicer and has all the presented information on it I think phattangent's attempt is better. Given the name of your file (asripper) and the fact it shows only Naruto torrents; I'm guessing you just filtered the Naruto series page. He on the other hand processed the XML feed as intended... So in my opinion, despite your pretty layout, his is the "better" page in this instance. :)


I just want to respond to your comment. Anyway script can be passed id of any series so any series stats work. Second it uses agressive caching and load faster (mySQL)...both do the same thing in the end.

Edit: Just changed id to "one piece" to show it works with any series. Plus it uses css to change look and one another thing...AS doesn't provide xml for series, if it did I would parse xml rather too.

phattangent
2004-03-12, 17:08
I can't seem to get http://www.animeblitz.org/Temp/asripper/example.php to show up...

note: i thought about exporting the xml to mysql but then realized that the ul and dl wouldn't be live for torrents not in the xml...

note2: i think that maybe instead of getting animesuki's xml file every hit it might be better to do a cron job and get the xml once every hour or two and save it to a local suki.xml (maybe) and then run my script using that.. which probably would be faster

Oh yeah... i fixed the release dates....

Forse
2004-03-12, 17:36
I can't seem to get url to show up...

note: i thought about exporting the xml to mysql but then realized that the ul and dl wouldn't be live for torrents not in the xml...

note2: i think that maybe instead of getting animesuki's xml file every hit it might be better to do a cron job and get the xml once every hour or two and save it to a local suki.xml (maybe) and then run my script using that.. which probably would be faster

Oh yeah... i fixed the release dates....

Site is up alright. Try this: http://213.139.167.217/Temp/asripper/example.php. Anyway when I was making script I considered many things...my script is aware of mirrors and doesn't hit one mirror all the time. It caches stats in mysql table (every x seconds). I tried to make it as easy as possible to use, already some sites use it without problems. Also when scripts leeches files off as server it shows up as normal MSIE user =)

phattangent
2004-03-12, 17:53
ok... i can see it now... thats cool.... is it possible for me to see your code?

Forse
2004-03-12, 18:02
ok... i can see it now... thats cool.... is it possible for me to see your code?

Sure on one condition...if you make it better/tweak/change post me a copy =)

PM sent

phattangent
2004-03-12, 18:07
sure thing... thx!

AOforever1
2004-03-13, 20:20
First off, Moin Forse! ^_^

I just recently (like a few hours ago) read about RSS in the April edition of Maxium PC and I started thinking about posting a comment about this on the forums. And low and behold, people have already done it LOL.

So anyways back to the topic.

I'm confused Forse on why you are using PHP to check AS releases when the XML/RSS is all ready and there for you to use?

What's the advantage? Cause I want to start scripting my own page =P

GHDpro
2004-03-14, 09:07
Let me show a trick so far only reserved for the innards of the AnimeSuki (mirror-side) scripts:

http://www.rpguru.com/data/scrape.dat

This file contains a repeating pattern of 6 bytes containing:
- UL
- DL
- Penalties for the tracker

Special values: 65535 for penalties means "no info for UL/DL" (the site will show "-" instead).

Here is the function you can use to get the info
(where $scrape is a string with complete contents of the file):
function Scrape($torrentid)
{
global $scrape;
return unpack("nul/ndl/npenalties",substr($scrape,($torrentid-1)*6,6));
}
This will return an array with the fields array["ul"], array["dl"] and array["penalties"].

Now just like RSS and XML, please DO NOT hit this file to often, and DO NOT
use the main site (AnimeSuki.com) to get this info -- use mirrors and preferbly
the link I posted above, as it's my "own" mirror which can take a "hit" (by figure
of speech).

PS:
There are more data files like these, but those aren't as useful. Most of the data
is stored in a MySQL database of course, as it's easier to query on. However the
scrape (UL/DL) etc. data would be much to "tiny" to update the database with each
time for each row -- it would take thousands of UPDATE queries -- every 15 minutes!
Which is still ok for a server you own (backend server does do this) but I wouldn't want
to burden the mirrors with this and came up with this solution.

AOforever1
2004-03-15, 02:05
So I would use the PHP function you provided to grab info from that .dat file you provided?

That's it?

NightWish
2004-03-15, 03:32
Yes and no. That function will extract the information from a string called $scrape but it would be up to you to actually download the .dat file from one of the mirrors and read it into the string.

GHDpro
2004-03-15, 03:34
...and to elaborate on NighWish's post, that would be as simple as:
$fp = fopen("http://www.rpguru.com/data/scrape.dat","rb");
if ($fp)
{
$scrape = fread($fp,102400);
fclose($fp);
}
...really simple PHP -- if you don't know that then... er. Of course you can
make it a bit more exotic if you use the CURL functionality in PHP (if compiled in)
to get the file (which is what the AnimeSuki scripts do to for example support
GZIP reading etc, which some trackers require).

Forse
2004-03-15, 04:36
I'm confused Forse on why you are using PHP to check AS releases when the XML/RSS is all ready and there for you to use?


Grrr...AS doesn't provide xml/rss for series.

P.S. I would rather use xml too if there was one for series.

phattangent
2004-03-15, 07:27
Grrr...AS doesn't provide xml/rss for series.

P.S. I would rather use xml too if there was one for series.

yup yup...

------------------------------

Here is an example of how my xml parser script will look on my website...
http://temp.pzfn.com/?bittorrent

AOforever1
2004-03-15, 17:37
Grrr...AS doesn't provide xml/rss for series.

P.S. I would rather use xml too if there was one for series.
Ahhh sry, I was kinda slow there xD

thx for sharing the info guys.
I'll be able to take it from here, I'm taking a C++ class now and im the top student :P
(yes, I love programing!)

SCHADOWFOX
2004-03-25, 16:53
anyone still interested in the xml for series ?

if yes i could provide one ;)

codingman
2004-03-30, 04:55
As my anime collected collection has grown (almost to an unmanagable point now), I've started writing a program to automate checking/downloading new episodes for all the series I'm following (using AS's XML service)
After working on it a bit, I'd like to request a slight change to the existing XML format and a new XML file altogether.

Would it be possible for you to modify the <episode> element by moving the text part of the episode number, ie '(Part 3)' or 'OVA' to an attribute of episode? For example <episode text="(Part 3)">4</episode>

Second, could you setup another XML file to just list Resharing Requested anime?
It would make it much easier to get the data into my program than by parsing the html page manually.

Thanks!

(SCHADOWFOX: An XML for series could be very useful.)

GHDpro
2004-03-30, 05:06
Well I'm working on a rewrite of the AnimeSuki "client" scripts and I'll take
your request(s) in consideration. But don't expect them soon.

As for the episode: the episode is stored in the database in two ways:
as string, ie: "4 (Part 3)" for display purposes
as integer, ie: "403" for sorting purposes
Splitting up the information as you requested isn't possible as that's not how it's stored in the DB.

SCHADOWFOX
2004-03-31, 17:21
currently it's only via www.animesuki-network.de/sukiscripts/?id={seriesid (http://www.animesuki-network.de/sukiscripts/?id={seriesid)} available, i will open the source if the code is a bit better ;)

It currently only shows

- (http://www.animesuki-network.de/sukiscripts/?id=3#) <series>
<status>{file.status}</status>

<release>{file.date}</release>

<file>{file.name}</file>

<group>{file.group}</group>

<size>{file.size}</size>

<ul>{file.ul}</ul>

<dl>{file.dl}</dl>

</series>

maybe iI will add later URLs to it like Groupurl,Torrenturl,Detailsurl

PnoT
2004-05-06, 04:33
Does anyone use a specific rss reader to dl rss feeds from various anime sites to auto download torrents? I know i use a reader for tvtorrents and ABC to queue up a list of stuff to auto download when i'm working or out. I can find a few places such as animesuki and anime.mirx.com that both have rss feeds but neither one will load into the reader i'm using which is setup for RSS 2.0. I've searched all over to find a reader that will work on the anime sites and even a big anime site that has a nice feed. Does anyone know where i can find some information on finding a reader that's compatible witht his site that will autodl torrents?



Thanks in advance,


PnoT

--Originally posted this in Bittorrent forum but not a single reply---

PnoT
2004-05-08, 04:27
Someone out there has to be using an automated download rss reader for
anime. I have it setup for tv shows and it works great but after a week of
looking i'm still unable to find an rss reader that will read 0.91 feeds AND
auto run the torrents automatically.




PNot

B3H
2004-05-08, 14:01
I want to know how, I can display a tha anisuki tracker on my site. Is this done through xml or rss? Can some1 give me a quick run down of what to do...?

SCHADOWFOX
2004-05-09, 05:35
as far as I know AnimeSuki doesn't run a Tracker :)

GHDpro
2004-05-09, 06:53
Yes we do, for the torrents on AnimeSuki's Torrents (http://www.animesuki.com/torrents.php) page.
But I still don't understand what he's saying exactly.

TronDD
2004-05-09, 08:23
I think he wants to have the animesuki listings on his own site. As far as I know, you want to use the XML. I haven't done it, so I can't help you beyond the directions in the first post.

B3H
2004-05-10, 07:28
I think he wants to have the animesuki listings on his own site. As far as I know, you want to use the XML. I haven't done it, so I can't help you beyond the directions in the first post.
yes what he said ^

SCHADOWFOX
2004-05-10, 07:50
Then you should use the XML (http://www.animesuki.com/xml.php) for the latest torrents.

B3H
2004-05-10, 14:02
Then you should use the XML (http://www.animesuki.com/xml.php) for the latest torrents.

so i use xml, if i want to display the latest/newest torrents. lets say i want to display the series naruto http://animesuki.animehack.com/series.php/3.html When i open the xml or rss, its just a bunch of text, i wanna know how i can feed that into a page on my site
:hmm:

SCHADOWFOX
2004-05-10, 16:01
There you go. (http://www.animesuki-network.de/sukiscripts/AS-Ripper.zip)

B3H
2004-05-10, 16:53
There you go. (http://www.animesuki-network.de/sukiscripts/AS-Ripper.zip)

thanx your are my savior
*bows down*

PnoT
2004-05-11, 05:03
bumpmebumpme

Prince of Chronics
2004-05-11, 05:15
you should have asked your question in this thread (http://forums.animesuki.com/showthread.php?t=1030&page=1&pp=20)... you may get better responses...

TronDD
2004-05-11, 06:21
Well after you started this thread I was curious about RSS. By the time I got around to installing software this thread had dissapeared on me and I couldn't find it. (Can't search for "RSS" on this forum and the only other related words I could think of were "download" and "anime", those wont work either :) ).

What are you using to auto-download? I only found one app that claimed to auto-download (had anime in the name) but it wasn't very good and I didn't see how to get it to download stuff.

After looking into RSS, and even writing my own feed for manga, it's very simple. It would be easy to write a script in linux that would monitor feeds for certain titles and launch a linux bittorrent client. It would be harder to accomplish in Windows, though, but there are open source bittorrent apps and RSS readers for Windows. It could be done.

relentlessflame
2004-05-11, 09:34
After looking into RSS, and even writing my own feed for manga, it's very simple. It would be easy to write a script in linux that would monitor feeds for certain titles and launch a linux bittorrent client. It would be harder to accomplish in Windows, though, but there are open source bittorrent apps and RSS readers for Windows. It could be done.
Actually, this is a great idea... think TiVo... Imagine a program that would keep track of the files you like to download (monitor trends and interests) and automatically monitor RSS feeds to look for new files. For example, if you're following a certain series, it would automatically look out for when the next episode is released and start the BitTorrent download automatically. But, if you tied it into a larger database, it could actually automatically classify anime by genre (based on file classification databases), so then you could take it to the next level - "You liked y, so there's this new show z you might also like..." (Think the Anime Recommendations Database (http://www.anime-planet.com/animerec/).) Of course, you'd be able to place limits on how much bandwidth or disk space you'd like to make available to the auto-download function. In theory, though, you'd just leave your computer on at night, and you'd wake up in the morning with a bunch of new shows to watch. This wouldn't only apply to anime, though - you could set it up to monitor other files and programs - for example, every time a new version of a program is released. I don't know whether there's generally enough bandwidth to make that feasible today for the mass-market, but in the near future it would seem to me like the next logical step.

Anyway, I don't know if anyone is working on something like that for BitTorrent, but it sounds like a good idea to me!

TronDD
2004-05-11, 10:26
Wow, you think big, don't you?

"On Demand" TV is becomming common place, if not in your home already, cable providers already use it to play local commercials. Your idea is basically the same combined with a TiVo. Instead of streaming the shows when you watch, it downloads them first.

Most of the data is already out there in various locations. I think the biggest problem would be an individual's bandwidth. No matter how much bandwdth you provider tells you you have, they don't like it when you use it. I've recieved letters. :)

I suppose one could write a TiVo-like UI that would monitor what you download, catagorize and rate them, make suggestions, but only download what you request.

Hmmm...anyone want to start a software project with me? :)

Ligerzero
2004-05-18, 04:34
any1 stil have AS-Ripper.zip????

PnoT
2004-05-19, 21:34
Actually there is already a windows based program that works great that will monitor feeds and AUTO dl torrents and activate your default bt client to auto
download the torrent. It basically checks the feed xxx mins and if something
matches the config file you setup then it'll dl it for you. The program is on
http://latest.milfclan.com and i have had it running for about a month. I'm only
having one issue with it and that's the fact if you add a feed other than rss
2.0 it will read the feed and parse it but it will not display the feed listing up
in the top window where you normally see the name of the files. The only way
to get the reader to function properly again is to del the contents of the cfg file
and restart it. I have it working for supernova items as well as lastest.milfclan.com and torrents.co.uk. I've asked the creater to look into the issue but hes a pretty busy guy. If anyone could fix the issue or suggest another program that works the same please fill me in i've been looking for a month now for an update to that rls or another progrie.

Tefal
2004-05-22, 19:13
Hi there. When I saw that AnimeSuki was offering RSS feeds, I tried to code something that takes advantage of it, but I quickly realized I wouldn't be able to download .torrent files directly with the information given in the RSS feed.

So I used XML :)
Putting together my programming skills, I made a little app (http://www.tefal.free.fr/sukimatic/) in command line mode that checks AnimeSuki's XML feed for new releases, and when it finds a release that's in a list you gave it (title and fansub group), downloads the .torrent to the directory you want. Unfortunately, it doesn't automatically launch your BT client, but clients like Azureus can auto-download .torrents in a given directory.

At first I made this for my friends and me, but reading this thread I noticed that not much people had done something specifically for AS, which is quite a shame considering the amount of users and the amount of releases here... So I decided to make it available, source code included, to everybody who'd be interested in that overblown script. Be warned though, it's (badly?) written in Java (the only programming language I know enough) but the advantage is that it's working on anything that has a J2SE JVM (besides, it's been coded and tested on Linux, Windows and OS X).

I hope it'll be useful :)

- Tefal

PnoT
2004-05-26, 20:49
Anyone have some updates on readers lately? I still haven't found anything
to perfectly suit my needs. I wish i could code heh. Anyone else working on
a project to do this type of thing?

SCHADOWFOX
2004-06-07, 07:58
After alot of Mails I will put on the AS-Ripper.zip again

so I will create a cutte little website for it just be patient ;)

http://scripter.animesuki.info

will the URL be atm is there no content just be patient and visit it from time to time

// edit website online go grab it post in the forums some request's or just vote for an enhancement ;)

abe
2004-06-11, 14:07
There seems to be something wrong with the xml page now.


The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.

-----------------------------------------------------------------------

Reference to undefined entity 'deg'. Error processing
resource 'http://www.animesuki.com/xml.php'. Line 78, Position 19

<abbreviation>&deg;A</abbreviation>
------------------^

My php xml-parser doesn't seem to like that degree thing either.

Anyone know why it doesn't work? &amp; and some others works.

NightWish
2004-06-11, 14:18
deg is an "undefined entity" -- that is an entity the parser doesn't "know" how to deal with.
The XML specification only requires parsers to know: lt, gt, amp, apos and quot. (Without declaration that is...)

If deg is to be used it must be defined and it isn't being. We should really define a schema for the XML... which would include the definition of things like deg, but we don't. I guess it's something for GHDpro to add to his "todo" list.

MatrixSh0cke
2004-07-15, 20:39
How do you edit the tables and such when displaying the feed? When I display it, it's totaly huge and messes up all the other tables in the layout. Any ideas?

SCHADOWFOX
2004-07-15, 22:36
MatrixSh0cke it would help if you tell us what u are using -_-;;

NoSanninWa
2004-07-28, 18:49
Not to promote klipfolio since I've never actually used it, but someone has created klip for the AnimeSuki RSS. I thought I'd post it here in case it is helpful to anyone. The author recently emailed me about this:

> Hi there,
>
> I use the Animesuki RSS (http://www.animesuki.com/rss.php) to make a
> klip avaible for Klipfolio.
>
> The Klip is avaible here:
> http://www.klipfarm.com/farm.php?page=info&klip=3014 and a mirror is
> here: http://ekiblog.free.fr/animesuki.klip .
>
> Hope you will find it usefull.
>
> EkinoX

Can anyone tell me if klipfolio is a good RSS reader?

Asai
2004-09-17, 16:01
The RSS feed doesn't work in FireFox (1.0PR)'s inbuilt RSS stuff, any chance of having this changed/fixed/whatever so it does? I don't really want a standalone client when FF has RSS built in. :(

duskphoenix
2004-09-17, 16:23
The RSS feed doesn't work in FireFox (1.0PR)'s inbuilt RSS stuff, any chance of having this changed/fixed/whatever so it does? I don't really want a standalone client when FF has RSS built in. :(
The auto-discovery stuff doesn't work sometimes, but you can just add a feed manually by going to Bookmarks->Manage Bookmarks->File->New Live Bookmark and copying in the feed location.

Asai
2004-09-17, 16:28
The auto-discovery stuff doesn't work sometimes, but you can just add a feed manually by going to Bookmarks->Manage Bookmarks->File->New Live Bookmark and copying in the feed location.

That did the trick, thanks a bunch! ^^ Totally great. This RSS stuff is quite awesome.

phip
2004-10-01, 02:25
Mozilla/Firefox browsers (and maybe others) have integrated support for RSS feeds, if you give the proper heads-up in the HTML header. I don't know much about RSS, but by visiting EFF.org and viewing the source I found the element that lets browsers know a page has an RSS feed. In the <head></head> tag on EFF.org, The following tag exists:

<link rel="alternate" type="application/rss+xml" title="EFF News (RSS 2.0)" href="http://www.eff.org/news/index.xml" />

If a similar tag is put into the front page of animesuki, supporting browsers can fully integrate the RSS feed and allow users to subscribe to them. (It's pretty neat)

deimos
2004-10-09, 16:28
Hi, I'm new to the forum, but I have a minor request about the RSS feeds.

How difficult would it be to use the absolute path to the torrent file in the link element instead of directing to the group's torrent directory? I've written a tool to automatically downloads torrents and save them to a directory, but it won't work with the current RSS feed from this site. I'm already using this tool on a few other sites. In conjunction with btlaunchmanycurses, it currently downloads all of the american television shows I watch automatically. It would be neat to be able to do the same with the anime I watch.

Its very alpha right now, but if you want to try it out, its at my website http://kfa.cx/. Its called AutoRSS. Linux console only, sorry windows guys!

If its a problem, I can simply write a translator php script which will simply connect to the XML syndication feed and translate it to RSS, but it might be helpful to others who use similar tools, considering I won't be able to publicly publish any translator page I write due to bandwidth constraints on my host.

Thanks guys for providing a wonderful website!

GHDpro
2004-10-10, 05:50
deimos:
See here: http://forums.animesuki.com/showthread.php?t=21754

You could also use the XML file for now, but that doesn't have a standard format like RSS

deadcoat
2004-10-24, 01:59
This might be a silly question but I am using firefox and just added the animesuki rss to bookmarks I just want know if I have to have cookies enabled to update the rss or can I have cookies disabled and update the rss.

shuban0
2004-11-05, 10:30
Hey Deimos,
I was wondering if you ever got around to programming that php script, as it seems that GHDpro won't be getting around to adding torrent file enclosure support to the Animesuki RSS feed any time soon.

Thanks

Asperitas
2004-11-06, 07:07
I cant get ASripper to work (it gives a db error, while I am certain that I filled everything in correct!) and could anyone tell me how to get an xml-file displayed on a site?

hhaamu
2004-11-06, 08:25
could anyone tell me how to get an xml-file displayed on a site?

The keyword is xslt (http://www.w3.org/TR/xslt). Or you could use some server-side scripting to turn it to html. I'd go for the latter option mostly because I have no idea how to use xslt.

Forse
2004-11-06, 11:04
any1 stil have AS-Ripper.zip????
try http://scripter.animesuki.info/index.php?option=com_weblinks&Itemid=4&catid=2

Also parsing XML with php is easy, just grab http://pear.php.net/package/XML_Serializer and then all you need is foreach loop =)

Blaat
2004-11-14, 07:19
I have a question is the RSS function still working properly? As my inbuild Firefox RSS feature doesn't seem to load the Animesuki RSS, while it works for other sites like BBC news.

GHDpro
2004-11-15, 14:43
The FireFox RSS feed is pointed to the the AnimeSuki RSS feed on the mirror "www.rpguru.com",
which I operate myself. I recently moved this mirror to another server, for which I temporary created
the alias "www2.rpguru.com" so that mirror updating could continue.

The problem is... because the move had finished, I had removed this alias again. But I forgot to update
the information on the server that updates all mirrors. Which resulted in "www.rpguru.com" not being
updated since about Friday evening. Oops.

I've fixed now again, meaning that the next mirror update will bring "www.rpguru.com" fully up-to-date
again, which should also revive the RSS feed, which only displays new torrents for the past 24 hours
(and thus was simply empty).

To refresh the Live Bookmark without restarting FireFox, right-click on the link in the menu, and
select "Refresh Live Bookmark" -- worked fine for me.

Blaat
2004-11-15, 15:10
Its working correctly now thank you :)

DrGalen
2004-12-29, 11:37
Hello,
First i wanna say that you guys at Animesuki are doing a great job! Keep up the great work!

Its awsome that you guys provide and RSS feed however I think it could use a little work. It'd be nice if it had direct links to torrents....I remember reading about a post about this somewhere in this forum...they AnimeSuki admin came up with a compromise with using enclosures and/or making even that optional still having the links point the the digi-subber webpages. That sounded great but nothing ever came of that.

Also I'm here to drum up support for GART (Generally Accepted RSS Titles) (http://openvid.sourceforge.net/gart.html), something I hatched up myself. I'm making the rounds trying to convince the many anime sites with RSS/BitTorrent feeds to try to conform to this simple spec as it will make things easier for people using RSS Video Agreggators like Azureus RSS Feed Scaner (http://azureus.sourceforge.net/plugin_details.php?plugin=rssfeed) and Videora (http://www.videora.com).

I think AnimeSuki could easily implement this due to the storage of lots of information in its database.

Anyways, I'd like to hear your comments and suggestions. I'm gonna post a link to this post on my webpage if you don't mind, hopefully to show you that more than just one person would like to see these changes made.

Dr. Galen
Open Videora Server (http://openvid.sourceforge.net)
Project Administrator

NightWish
2004-12-29, 12:03
It has been suggested before in this thread a few pages back. Check the link for why it hasn't been updated yet.
___________
Thread Merged

hhaamu
2004-12-30, 05:20
I could nitpick on the XML feed:
<title>UG &amp;#9734; Ultimate Girl</title>

It should be "UG &9734; Ultimate Girl". Better yet, don't allow any such entries in the database, to avoid possible further trouble. Replace that ☆ with a dash or something.

Not sure if the same problem is present in the RSS feed.

NightWish
2004-12-30, 08:52
I think you mean it should be "UG ☆ Ultimate Girl" ;) But yes, it is broken. Again we've seen it before, it just isn't a priority to fix it. :heh:

GHDpro
2006-01-05, 10:42
FYI

I just made a rather stupid mistake on the server hosting www.rpguru.com
One of the main functions of this mirror is to host the AnimeSuki RSS page,
for example when using Firefox's Live Bookmarks.

Due to the mistake, the server will need an OS reload. And needless to say
this means it will take some time (a few days at most hopefully) to get the
server back running again.

Until that time, you can still use the RSS page from any other mirror.

StoicJester
2006-01-13, 15:15
i'm not able to use the xml. is this still because of the server problem mentioned before? i'm using firefox to read it by the way. the url for the feed i'm trying to use is
http://www.animesuki.com/xml.php?type=series&id=496. however, even http://www.animesuki.com/xml.php does not work.

GHDpro
2006-01-13, 18:08
Er, it seems to work fine for me -- I do not get any errors when viewing those pages
in FireFox, and online XML validators also don't seem to mind. The only real problem with
the XML output is that it has no DOCTYPE (figures, it isn't XHTML) nor a tag declaration
(or whatever it's called).

IRJustman
2006-01-14, 12:52
Right now, the biggest problem I had recently had was that the data in Sage, an RSS viewer extension for Firefox, was woefully out of date. The fix for that was a cache clear and it woke right up. I just feel like an idiot for not thinking about this sooner!

--Ian.

vhx
2006-01-29, 19:01
Any updates for fixing the Firefox RSS? It still isn't functioning for me even if I clear my cache, reload the bookmark, or restart firefox. Any help would be appreciated, thanks.

EDIT: Got it from going from a mirror, seems the AnimeSuki.com RSS still tries to link to rpguru.com rss, which still doesn't exist.

GHDpro
2006-01-30, 05:02
Er.... rpguru.com occasionally had has a few problems, but it has been running fine for
the past week or so. Right now the RSS page from rpguru.com simply works.

GHDpro
2006-01-30, 20:19
I just got locked out of the same server rpguru.com is hosted on. Seems like I had the
firewall rules set a little to strict. Fortunately it only affected on IP out of the several ones
that are on the server, so I could still access it.

I've now cleared all old IP blocks from that server. Try and see if www.rpguru.com works now...

OutPhase
2006-06-14, 18:25
I recently got IRC, but I cannot connect. I do not know your port number.
Here's what I have:

Server: irc://irc.zirc.org/Animesuki
Channel: #animesuki.


If I did anything else wrong, please correct.

NoSanninWa
2006-06-14, 23:38
server is just: irc.zirc.org

GHDpro
2006-09-07, 22:12
RSS Feed Update

I've made a slight change to the RSS feed. You can now supply the "style=alt" parameter, like this:
http://www.rpguru.com/rss.php?style=alt

When you do this the RSS feed will use "TV style" episode numbering. For example "Air Gear 22"
will now be listed as "Air Gear 1x22". In TV style episode numbering the number before the "x"
indicates the season number, but this is usually irrelevant for fansubs. Some RSS feed parsers
still rely on them however, such as uTorrent's RSS parser.

The effect of this change is that uTorrent can now properly parses the episode numbers from
the AnimeSuki RSS feed, so that you can easily use filters on them. I haven't test this myself though
(other than checking that the episode parsing works).

Notes:

- The "1x" part is a static string, it does not really indicate season. So while Major episode 27
would actually be from season 2, it would still be listed as "1x27" as the AnimeSuki database
does not store season information.

- The episode number used is the integer used for SORT ORDER. This means that sometimes
the episode number may be a little awkward when AnimeSuki staff purposely alters this
number to force a certain sorting order (like when TV, Movie and OVA episodes are mixed in a series page).

- Batch torrents are listed with the first episode only. So a batch of episodes "11-15" is listed as 1x11.
uTorrent doesn't appear to support parsing episode ranges (that's parsing ranges from the RSS feed,
uTorrent can filter on episode ranges, but that's not related to batch torrents).

Fatsobob
2006-10-19, 21:08
I have tested it in the utorrent client and it works like a dream. I just have a question for anyone who is more used to the RSS feature of utorrent. Is there a way to exclude some groups for the sake of trying to keep your series one group?

EDIT: After a little experimenting, I figured out what I needed to. To get the specific series from just one group, you need to add every other group to the exclude between wildcard characters(*,?, and |)

soft4you
2006-11-05, 17:24
YeahReader is better than FeedReader:

YeahReader - is completely free RSS RDF Atom newsfeed aggregator and blog client (http://www.yeahreader.com)

Typhoe
2007-02-06, 14:37
RSS Feed Update

I've made a slight change to the RSS feed. You can now supply the "style=alt" parameter, like this:
http://www.rpguru.com/rss.php?style=alt



Thank you!!!

That works great with the perl RSS parser (tvtorrentfetch) I use for my bittorrent Client (mldonkey) too.

Regards,
Typhoe

Danj
2008-03-24, 11:43
Since Animesuki's RSS feeds do not offer any means to filter by series and/or fansub group, I wrote a PHP script which downloads the relevant Animesuki XML feed (caching it for 15 minutes as required by the XML information page (http://animesuki.sandwich.net/doc.php/rss.html)) and outputs it as a uTorrent-compatible RSS feed. The source code for this script can be found here (http://www.intercontinuum.net/asxmlselector.phps). It's very much a quick'n'dirty solution, but it does work. I'm sure there are ways in which it could be improved, so if anyone here is interested, have at it. Alternatively if there's anything the script does with regards to Animesuki that it shouldn't be doing, please let me know.

EDIT: also in case it isn't obvious, the script takes 3 arguments, one of which is optional:

sid (required): Animesuki series ID
gid (required): Animesuki group ID (for multigroup releases, can be either group's ID)
v (optional): version (e.g. XviD, h264)

Fahd
2008-05-22, 06:31
Many thanks for the PHP script Danj. Just a couple of suggestions though:

1) $release->torrent->direct on this line:

echo "<link>" . $release->torrent->direct . "</link>\n";

should have htmlspecialchars wrapped around (as shown below), as otherwise URL's with ampersands in them cause problems.


echo "<link>" . htmlspecialchars($release->torrent->direct) . "</link>\n";


2) I replaced $release->version == $vidver on this line:

if ((isset($vidver) && ($release->version == $vidver)) || (!isset($vidver))) {

with a preg_match:

if ((isset($vidver) && ( preg_match("#" . $vidver . "#i", $release->version) )) || (!isset($vidver))) {

in case a group releases a second version, which shows up as: h264 v2 for example.

Cetra3
2008-07-21, 09:02
Hey Guys,

Simple question.

Any way of coaxing the xml with some nice GET statements to retrieve a list of series ID's ?

I'm thinking along the lines of something like this:

http://www.animesuki.com/series.php?show=detailed

But in XML Form.

Something like:

<series>
<id>1215</id>
<title>Amatsuki</title>
<completed>No</completed>
<episodes>13</episodes>
<vintage>Apr 2008</vintage>
<updated>2008-07-14</updated>
</series>

But yeah, can easily parse the html table and create something like that anyways. Just wondering if there was already an existing xml interface for retrieving series information, something to link the ID and Title together

Fahd
2008-08-07, 04:52
Hey Guys,

Simple question.

Any way of coaxing the xml with some nice GET statements to retrieve a list of series ID's ?

I'm thinking along the lines of something like this:

http://www.animesuki.com/series.php?show=detailed

But in XML Form.

Something like:

<series>
<id>1215</id>
<title>Amatsuki</title>
<completed>No</completed>
<episodes>13</episodes>
<vintage>Apr 2008</vintage>
<updated>2008-07-14</updated>
</series>

But yeah, can easily parse the html table and create something like that anyways. Just wondering if there was already an existing xml interface for retrieving series information, something to link the ID and Title together

You'd have to write your own PHP script, although you could use Danj's as a base. Remove the 'v' & 'gid' GET blocks, and put in an explode statement to separate out a list of series id's, say separated by comma's (or whatever character you prefer). You'll then need to run a foreach loop over the:

if (!isCached()) {
dlSeriesXml();
}

block for each of the series id's. You'll finally need to move the line:

$ourXML = simplexml_load_file($filepath . $seriesid . ".xml");

inside the foreach block at the end, and change it so that it loops over your list of series id's. Inside the foreach you'll want to have echo statements to put out the information on each series. The vintage & updated fields are stored as Unix time stamps, so you'll need to convert those using the date function.