Ink Stained Fingers ([info]inkstainfingers) wrote,
@ 2009-01-07 08:55:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Consolidating Sites & RSS Feed
Since the archive doesn't have the heavy traffic it used to have, and since we are on a system that seems to be able to handle the load, I am going to be consolidating the two sites we have - inkstain.inkquill.net and inkstain.inkquill.com, so that the .net site will be the only accessible site. What this means for you, the viewing audience:

1) if you go to the .com site, you will automatically redirect to the .net site

2) if you post a story (which is on the .net site) it will immediately be found by everyone - right now, those who use the .com site have a monthly delay until I do the maintenance, i.e., FTP into the .net site, manually copy the new files, and then upload them to the .com site.

3) the .com site will still be there, just inaccessible. I will continue to do the maintenance on the site and, should the main site fail, the backup site will be there to take over. However, since they are both on Dreamhost, that would be an unlikely event.

This change will take place over the next week or so, and you shouldn't notice any interruption or problem since it's all taking place behind the curtain.


Another note: I am trying to set up an RSS feed, along the lines of what Yuletide Treasures has, so that people can subscribe to get notice of new stories on the archive. If there is anyone who has experience doing this with the AutomatedArchive software, let me know - my previous attempts to do this have been failures.



(4 comments) - (Post a new comment)


[info]snakeling
2009-01-07 06:50 pm UTC (link)
I don't know AutomatedArchive at all, but probably the easiest way would be to query the database periodically and print off the results in a dynamic RSS page. I can do it in PHP, but I think AA is written in another language, right?

What's the database? MySQL or something else?

(Reply to this) (Thread)


[info]inkstainfingers
2009-01-07 08:50 pm UTC (link)
It's something else, looks like a flat file (and is edited like one). I've got a package provided by someone using AA that is supposed to set up the RSS feed, but I can't get it to work. The zip file is here - http://inkstain.inkquill.net/rss_maker.zip - just right-click and save, if you want to take a look and see if you can make sense of it.

(Reply to this) (Parent)(Thread)


[info]snakeling
2009-01-08 11:19 pm UTC (link)
The archive itself is Perl, which I'd planned to learn; looks like a good occasion :D I've downloaded both AA and the RSS maker file, and I'll play with them and see if I can get results, though probably not before my holidays at the end of the month.

(Reply to this) (Parent)


[info]snakeling
2009-01-30 02:53 pm UTC (link)
I haven't managed to install AA, as I kept running into permission problems, so I'm giving it up as a lost cause :D

For the RSS maker, here's the config I would set up:
my $url = 
"http://inkstain.inkquill.net/isf/cgi-bin/search.cgi?ShortResults=0&Title=&Title_Range=0&Author=&Author_Range=0&Summary=&Date=1&SortBy=3&SortOrder=1&NumToList=0&FastSearch=0";

my $archive_name = "Ink Stained Fingers";

my $archive_url = "http://inkstain.inkquill.net/hparchive/";

my $archive_desc = "The newest stories at $archive_name.  Updated whenever stories are added!";

my $archive_banner = "http://inkstain.inkquill.net/images/logo.gif";

my $height = 228;

my $width = 400;

my $rss_loc = "/home/myusername/public_html/inkstain.rss";
What kind of errors do you get when you do that? Have you tried creating an empty RSS file first, or letting the script create it?

Also, have you checked that your cgi-bin folder is inside public_html? I know mine isn't, but I'm not using Dreamhost.

The RSS maker actually pulls the recent page, then parses the info from there and organises it in a RSS feed. Given that the recent page is currently empty, maybe try replacing my $url with the URL of a search you know gives out results, like a Snarry search or something.

Can you let me know the kind of errors you run across?

(Reply to this) (Parent)


(4 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…