Author Topic: Downtime 05/05/07 -- Finished  (Read 6267 times)

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Downtime 05/05/07 -- Finished
« on: May 04, 2007, 08:53:01 PM »
TWG will be down from around 10pm MST Saturday till hopfully Midnight MST, we're moving to a new server this weekend.

Anyone that has a TWG e-mail that wants to keep it needs to PM me or e-mail me if you want to keep it since I'm only transfering ones of the people I've already talked with.
« Last Edit: May 06, 2007, 08:32:43 AM by Spriggan »
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #1 on: May 06, 2007, 08:33:47 AM »
Ok we're over on the new server, hopefully there wasn't anything lost in the transfer so let me know if there is anything missing or not working right, we still have 9 days left at Bluehost.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


EUOL

  • Moderator
  • Level 58
  • *
  • Posts: 4708
  • Fell Points: 33
  • Mr. Prolific [tm]
    • View Profile
    • Brandon Sanderson dot com
Re: Downtime 05/05/07 -- Finished
« Reply #2 on: May 07, 2007, 11:12:41 PM »
Sprig,

Can't get any of the department pages to work.  Has someone else mentioned this?
http://www.BrandonSanderson.com

"Technically, I don't even have a brain."--Fellfrosch

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #3 on: May 08, 2007, 10:30:59 PM »
No, I didn't notice this until last night when you mentioned it in the call for articles thread.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #4 on: May 09, 2007, 12:10:02 AM »
Instead of implenting the old deparment pages I'm coding a new system.  You can see what I doing at this code: http://www.timewastersguide.com/?dept=VG

Also if anyone with edit powers notices bad characters please fix them, a lot of our special characters (e.g. ',",:,;) didn't make the transfer from one database to the other and come out looking really crappy.

edit: Or better yet if someone will post a translation guide as too what gibberish equals what character I'll write a script that will fix everything.
« Last Edit: May 09, 2007, 12:34:10 AM by Spriggan »
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #5 on: May 09, 2007, 02:26:36 AM »
ok department pages are up.  The trick to them is they generate their own blurbs by trying to grab the first paragraph of the article, the script does this by looking for the fist set of <p></p> tags (as is proper XHTML).  If only the article title is showing that means it couldn't find the correct set because there isn't any and if the whole article is showing that means you've got a <p/> tag which is a no no.

This is pretty much the method I'm going to stick with, it's better to generate the intro blurb this way then typeing our own so this means Nessa is going to have to add to the style guide how to deal with placing anything but the opeing paragraph first (like publisher, author actor info).  I'll be happy to help in this, I'd suggest header tags, like h4 as seen here after my modification
http://www.timewastersguide.com/view.php?id=1510

we can discuss font size and weight as well since I can change all of those.
« Last Edit: May 09, 2007, 02:32:04 AM by Spriggan »
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #6 on: May 09, 2007, 04:31:49 AM »
we now have clean URLS for both the departments and the articles.

so for movies you'd goto http://www.timewastersguide.com/deparment/Movies
and for an article you can use http://www.timewastersguide.com/article/1510 or http://www.timewastersguide.com/review/1510

Why is this good?  Well now Google will index all those pages, search engines don't like anything after the file type (the ? and beyond) so they only index those via direct link and not via spidering a site.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #7 on: May 09, 2007, 08:23:44 PM »
Ok I'm going to have a few more changes, the article/review title can be placed in the URL like thus:
http://www.timewastersguide.com/review/1535/Doppleganger

articles with spaces in the name should be done thusly: http://www.timewastersguide.com/review/1540/The-Fresco

This is not nessacery but I'm going to start manually doing this in places where possible.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #8 on: May 10, 2007, 07:06:56 AM »
so here's a list of special characters I've found that need to be fixed, if anyone else has any more let me know ASAP.

’ = '
“ = "
” = "
— = -
é = e
  = tab or multiple spaces (indents)

Also I believe I have the article urls just how I want them.
so spaces are replaced with - while , ; " ' / and just about every symobol I could thing of are removed completly as in this example:
http://www.timewastersguide.com/article/1237/A-Geek-Girls-Guide-to-Spreading-Tolerance

lastly & is turned into and
« Last Edit: May 10, 2007, 07:30:58 AM by Spriggan »
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #9 on: May 10, 2007, 09:34:53 PM »
ok special characters are fixed, sort of.  I went and copy and pasted everything from the old database to the new one so there's no more jibberish.  However we still have the problem of having word's magic quotes and other things stored in our database so they won't export correctly to a dump.

also, we lost 2 blurbs (the one's from this week), sorry nessa I forgot to back those up.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Fellfrosch

  • Administrator
  • Level 68
  • *
  • Posts: 7033
  • Fell Points: 42
  • Walkin' with a dead man over my shoulder.
    • View Profile
    • Fearful Symmetry
Re: Downtime 05/05/07 -- Finished
« Reply #10 on: May 10, 2007, 11:15:03 PM »
The search function is totally dead.
"Tragedy is when I cut my finger. Comedy is when you walk into an open sewer and die." --Mel Brooks

My author website: http://www.fearfulsymmetry.net

Nessa

  • Administrator
  • Level 32
  • *****
  • Posts: 1918
  • Fell Points: 5
  • Giving life to demon spawn since 1999
    • View Profile
Re: Downtime 05/05/07 -- Finished
« Reply #11 on: May 11, 2007, 12:11:13 AM »
also, we lost 2 blurbs (the one's from this week), sorry nessa I forgot to back those up.

I had them backed up at home, so it's ok.
"The difference between the almost right word and the right word is really a large matter--'tis the difference between the lightning-bug and the lightning."  -  Mark Twain

Check out my book reviews at http://elitistbookreviews.blogspot.com/

Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #12 on: May 11, 2007, 06:17:24 PM »
The search function is totally dead.

Fixed, just needed to change a pointer to a file.

I'm probably going to change our search function, we're really not using a effective method.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


Spriggan

  • Administrator
  • Level 78
  • *****
  • Posts: 10582
  • Fell Points: 31
  • Yes, I am this awesome
    • View Profile
    • Legacies Lost
Re: Downtime 05/05/07 -- Finished
« Reply #13 on: May 12, 2007, 03:05:35 AM »
We now have a space for the ISBN/ASIN of an item, if this is filled out an image will appear form amazon in the deparment page and on the article itself.

If you need this for movie reviews, nessa, just do a search for the movie at amazon in the DVD section and grab it there. Amazon has all the new movies up on their site so people can do this.

I'm also going to add a custom image slot eventually so articles like the nerdery and geek girl can have their own picutres.
Screw it, I'm buying crayons and paper. I can imagineer my own adventures! Wheeee!

Chuck Norris is the reason Waldo is hiding.


The Holy Saint, Grand High Poobah, Master of Monkeys, Ehlers

  • Administrator
  • Level 96
  • *****
  • Posts: 19211
  • Fell Points: 17
  • monkeys? yes.
    • View Profile
    • herb's world
Re: Downtime 05/05/07 -- Finished
« Reply #14 on: May 14, 2007, 01:31:40 PM »
I nominate Sprig for the "Rocks the Casbah" trophy