Welcome, Guest. Please Login or Register.
June 17, 2024, 09:41:40 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Spider URLs 1.2 « previous next »
Pages: [1] 2 3 4 Reply Ignore Print
Author Topic: [beta 1.5.4] Spider URLs 1.2  (Read 26780 times)
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
[beta 1.5.4] Spider URLs 1.2
« on: September 14, 2003, 07:28:42 AM »
Reply with quote

This mod removes the symbols that search-engine spiders don't like in urls so that your forum can be indexed. You should also use Relative URLs mod to fix relative urls so that they work correctly.

Spider_URLs_v1.2.zip

Here's a before/after example:
http://example.com/yabbse/index.php?board=1
http://example.com/yabbse/index.php/board-1

You can see it working in my forum:
http://laakademia.com/foros

It's been tested quite a lot already, but please let me know if you run into any problems.

History:
03 SEP 16 v1.2 released
03 SEP 15 v1.1 released
03 SEP 14 v1 released
« Last Edit: September 17, 2003, 02:55:19 AM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #1 on: September 15, 2003, 09:06:31 AM »
Reply with quote

It doesn't work for me (even using index.php rather than "content")

The OB Anguz URL mod is what's causing my problem.  It gives "page not found" and throws apache into a loop that uses 100% cpu and take the server down until the script times out.  :'(
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #2 on: September 15, 2003, 01:10:38 PM »
Reply with quote

The OB Anguz script seems to be causing my Apache to crash as well..
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #3 on: September 15, 2003, 04:07:58 PM »
Reply with quote

that's weird, cause it's basically the same code I used in Friendly URLs, the only difference being the last line was replaced with the callback to the functions

it's not causing me that problem, that's why I don't understand... I'll make sure the copy in the zip is ok

do you know what that loop could be?
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #4 on: September 15, 2003, 05:11:01 PM »
Reply with quote

Quote from: Anguz on September 15, 2003, 04:07:58 PM
do you know what that loop could be?

Is there any way I can tell?  It crashes apache before any output is generated, so I just get "page cannot be displayed.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #5 on: September 15, 2003, 06:50:54 PM »
Reply with quote

here's the code I have in my forum, I left the relative urls function out cause I don't know if you want to use it

ob_start('ob_anguz_url');
function ob_anguz_url($buffer) {
   global $scripturl;
   function spider_url($match){
      if($match['2'] == '' || strstr($match['2'], 'search') || strstr($match['2'], 'gallery') || strstr($match['2'], 'profile') || strstr($match['2'], 'imsend') || strstr($match['2'], 'chat') || strstr($match['2'], '_') || strstr($match['2'], '-'))
         return $match['0'];
      else
         return $match['1'] . str_replace(array("=", ";", "&", "?"), array("-", "_", "_", "/"), $match['2']);
   }
   $buffer = (function_exists('smart_url') ? preg_replace_callback('//i', 'smart_url', $buffer) : $buffer);
   $buffer = (function_exists('spider_url') ? preg_replace_callback('/(' . preg_quote($scripturl, '/') . ')([\?\w;=~&+%]+)/i', 'spider_url', $buffer) : $buffer);
   $buffer = (function_exists('relative_url') ? preg_replace_callback('/(href|src)="([^"]+)"/i', "relative_url", $buffer) : $buffer);
   return $buffer;
}
« Last Edit: September 15, 2003, 06:53:24 PM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Spider Urls 1.0
« Reply #6 on: September 15, 2003, 08:01:33 PM »
Reply with quote

Is that different from the mod you posted here?  I'll try it and see what happens.  I'd like to use the relative urls also if I can get them to work.
Logged
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[beta 1.5.4] Spider Urls 1.0
« Reply #7 on: September 15, 2003, 10:41:39 PM »
Reply with quote

nice work but i have to refresh the login and home button everytime it is pressed after i installed it so have took it out.

but just wondered this, My forum has a google page rank 5 and all post have a page rank 3 so dosen't it already spider this forum or is this mod for other search engines?

also your pagerank on your board is high but you dont have any on your posts. Is this because your board hasnt been spidered since you installed this mod?

I'm by no means an expert on this but will be looking at you PR next week to see if you have one and if this mod makes it higher.

keep up the good work.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.1
« Reply #8 on: September 15, 2003, 11:19:42 PM »
Reply with quote

dschwab9 - mod updated, update the ob_anguz_url mod to 1.1 too

Craig - thank you :) try the new versions of the mods, you shouldn't have that problem with your session, if you still have it, let me know

about indexing, it's supposed to index much more if the url doesn't have certain symbols present... I've only made my change recently and I don't know if google's been there after that or not... I'm not that learned about pagerank actually, how do you measure that?
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[beta 1.5.4] Spider Urls 1.1
« Reply #9 on: September 15, 2003, 11:35:26 PM »
Reply with quote

Thanks for the reply  :)

Quote from: Anguz on September 15, 2003, 11:19:42 PM
I'm not that learned about pagerank actually, how do you measure that?

use the free google toolbar

http://toolbar.google.com/

its good to see what pages have been spidered and  how important google classes each page of your site :)
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.1
« Reply #10 on: September 16, 2003, 09:34:34 PM »
Reply with quote

looks like google's been to my forum yesterday or today, cause a couple of days ago this search returned around 30 results and there's 2,680 right now

I'll try to improve it more so that it actually returns all the thousands it should, but as it is, the spider certainly likes it better  :)

« Last Edit: September 16, 2003, 09:36:25 PM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Craig
Jr. Member
**
Posts: 66


I'm a llama!

Re:[beta 1.5.4] Spider Urls 1.1
« Reply #11 on: September 17, 2003, 02:12:03 AM »
Reply with quote

nice work ;)

im still having the refresh problems  :(

ive added both got the refresh problem then i added just the spider mod and got the refresh problem  :'(

so ive took it out again. maybe its my server   :-\
Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Spider Urls 1.1
« Reply #12 on: September 17, 2003, 02:17:41 AM »
Reply with quote

Haven't tried the new code yet, gonna work with that some tonight.

Just looked at my logs, though.  Inktomi has been crawling my forums and has downloaded over 600 pages the last day or so.  Google came back and got some more too.

I'm not seeing in more results in the google search, but I know they don't update their database immediatly, so it may just not be there yet.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.1
« Reply #13 on: September 17, 2003, 02:28:14 AM »
Reply with quote

Quoteim still having the refresh problems

in mod settings, in the admin area, is 'Enable local storage of cookies' checked or unchecked? try unchecking it, that's how I have it and it works fine for me, that may do the trick for you too (I'm no cookies genius, so I can't give much more advice than this :P)
« Last Edit: September 17, 2003, 02:29:33 AM by Anguz » Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Spider Urls 1.2
« Reply #14 on: September 17, 2003, 02:57:07 AM »
Reply with quote

just updated the mod to v1.2

fixed a bug with removethread links, it didn't delete the thread, it does now
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Pages: [1] 2 3 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Spider URLs 1.2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.342 seconds with 20 queries.