Trying to digest the Anime Studio Forum

Whatever...

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Trying to digest the Anime Studio Forum

Post by Rasheed »

At the moment, I'm gathering tools to create a digest of the subjects on the AS forum. I'm using a Mac, and perhaps these tools are handy for other Mac users as well. My current OS is OS X 10.3.9 (Panther).

WebGrabber (freeware)
A piece of software to grab files from a website.

Finder (built-in software)
To remove the files I will not be working on. The files I will be working on are postings, with a common phrase "viewtopic.php?p=" in their filenames. If I simply list the php files in alphanumeric order, and remove all files which haven't got that magic "viewtopic.php?p=" in their filename, I'm left with the files I'll need.

Batches (freeware)
An AppleScript droplet you put in the Dock, and which enables me to mass (well, not too mass, otherwise it chokes the script) rename files. The files grabbed by WebGrabber have a strange format, formed after the name found on this forum, such as:

Code: Select all

viewtopic.php?p=10&sid=ad7b145925c85cd17980b9e9b84afaf8
which can't be opened with any program, unless you define that for each file, or add an appropriate extension to the filename.

EasyFind (freeware)
Very fast find utility (faster than Finder's search function). which has wildcard search (very handy indeed). For more powerful search I should really learn to use the built-in Unix command grep via Terminal.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post by bupaje »

Great Idea. I did this on my old forums -the old fashioned way though. I had some very simple VB utilities I made to just cut off certain stuff and insert the text in a new template but I had to manually weed out text and non-useful responses. Still it can be very useful addition to the Wiki or similar.

I recommend if you do this include at the end of each

-url to original post
-original date
-people involved in main content (except for the "Wow great" reponses)
-applies to/or tested with if pertinent (might be a technique that won't work with later version for example) ie. Tested with Moho 5.4

-If it gets added to a Wiki then maybe later people can add corrections "Updated for AS3.0" or "Verified by _forum_user xxx using AS2.5" or "_forum_user xxx - this code acts differently after version 123. You can get the same result by ..."

Anyway great work on the forum Rasheed. Thanks for all your energetic help.
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I don't know about adding it to a wiki...

Anyway, when I wrote Batches for file renaming. Forget that. Use FileWrangler. You can find it on your favorite Mac software site (I couldn't find the developer's site). It has similar capabilities, but is 10 times faster (if not faster than that), because it's a Cocoa app, and not an AppleScript.

The structure of the complete forum is rather easy to create by using an appropriate four layer folder structure (forum -> forum sections -> topics -> pages). The naming is also pretty obvious. Nevertheless, there has to be a reference to the original forum, so I'll keep the original file names, with some modifications.

Now I know what to download and how to structure it, I can grab the entire forum contents and process it.

BTW Many of the questions that are repeatedly asked in the forum, are already answered by Lost Marble in the FAQ. People just don't seem to know that they have to look there first.
User avatar
cribble
Posts: 899
Joined: Wed Aug 04, 2004 12:42 pm
Location: London, UK
Contact:

Post by cribble »

That batches tool is real handy, thanks.
--Scott
cribble.net
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Your welcome.

I guess when you're an AppleScript programmer, Batches might be a handy tool to write your code for, plus it already has some other useful stuff in it, though renaming is not fast enough for me with over 28,000 files, and it taking about 2 files per second on my system.
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

I found a neat url to watch watch everyone on the forum is currently watching. Some forums have this exposed, but on the Anime Studio forum this is a hidden feature.

http://www.lostmarble.com/forum/viewonline.php

Edit: When you encounter a page that needs user authentication, you'll be redirected to a login.php page. I don't really need those pages, and some other pages I don't need as well. Therefore, I filtered out these wildcard patterns in WebGrabber (skip these files):

Code: Select all

 *login.php* *memberlist.php* *profile.php* faq.php* groupcp.php* posting.php* search.php* index.php* 
JCook
Posts: 392
Joined: Wed Aug 04, 2004 1:28 pm
Location: Cape Cod, MA

Post by JCook »

I've never tried Batches, but I've been using Renamer4Mac and it seems to work quite well. Here's a link if you want to check it out. Just another tool in the toolbox.

http://www.power4mac.com/renamer/

Jack
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Thanks for pointing me to this tool, Jack.

I had problems with Webgrabber. It grabs in a recursive loop and kept downloading the same set of files (with another sid). I had downloaded 9000+ files, of which only 136 or so were unique.

So I changed tactics. I've downloaded the forum pages, on which each topic is listed. From there I can view every post on the forum, as long as I'm linked to the internet. The plan is to create a page with links to those topics, and a small description of the contents of the discussion.

However, I still wanted a program to download individual files from the forum. I could use a webbrowser, but that changes the files to locally stored pages (with images and all). I didn't want that. I wanted an exact copy of each page rendered by the forum. I had to search whole night and tried several solutions (even DarwinPorts by Open Darwin), but to no avail. Finally, I found CocoaWget on a Japanese server (luckily, the page is in English). This app wasn't even listed in the usual software repositories (Versiontracker, MacUpdate), so I just got lucky. SimpleGet didn't do it for me, but CocoaGet did.

Thanks for the Japanese. They have given us the programming language Ruby (from Ruby on Rails), and several other cool apps you don't see in the West.

I will put this forum digestion project on hold for a while, so I can give my full attention to the Scripting Tutorial.
User avatar
cribble
Posts: 899
Joined: Wed Aug 04, 2004 12:42 pm
Location: London, UK
Contact:

Post by cribble »

Rasheed wrote:I found a neat url to watch watch everyone on the forum is currently watching. Some forums have this exposed, but on the Anime Studio forum this is a hidden feature.

http://www.lostmarble.com/forum/viewonline.php

LOL
--Scott
cribble.net
User avatar
Rai López
Posts: 2292
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

Buuut... what a nice feature, isn't?? Thank you Lost Marb :shock: eerrrmm... RASHEED!!! :D
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Not hidden...

Image
User avatar
Rai López
Posts: 2292
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

If... I... click... there... it brings to me... to your "Putfile.com" files site! (...) :roll:

Hay que ver... qué fácil es reirse de la ignorancia de los demás... :? (y qué diver! :D :D :D)

PD: Sí, sí, Genete... ahora quita las risitas... :lol:
...
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Creo que no me entendiste Ramón. Cuando digo Click here quiero decir que hagas click en el mismo sitio del dibujo pero en la pagina del foro. Haciendo click en "Who is Online" te lleva a dicho enlace.
Disculpadme si no entendí nada pero es que bromear y además en ingles no es lo mio.
Disculpas si ofendí a alguien.

I think that you did not understand me Ramón. When I say "Click here" I mean to do it at the same place but in the forum page. Doing click on "Who is Online" brings to that link.
I'm sorry if I didn't understand nothing but joking and in english is not my best.
Sorry if someone was offended.

Regards
Genete
User avatar
Rai López
Posts: 2292
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

...Jajaj, pues era una broma todo, sí :) ...Y bueno, es que a mí también me hizo gracia no haber caido nunca en la cuenta del "who is Online" ese después de tantos y tantos días por aquí metido :P ...Sólo eso! :D

...Bla bla bla, mu mu mu, la la la :) ...Bla bla bla, mu mu mu, la la la, bla bla bla, mu mu mu, la la la, bla bla bla, mu mu mu, la la la, bla bla bla "Mu mu Mu" la la la, bla, bla, bla, mu mu mu, la la la, bla bla bla, mu mu mu, la la la :P ...Bla bla bla! :D

PD/S: :roll:
...
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

I got it now!. :lol:

Ramón López's signature wrote:wanted to be a Marble too...
:lol: :lol: :lol:

Ahora is pongo las risitas. Buen rollo eh? :wink: (a ver que traduzcan eso :P )

Bye
Post Reply