Welcome! Log In Create A New Profile

Advanced

this is a part of ...

Posted by christofferus 
this is a part of ...
August 08, 2007 10:14PM
rec
Re: this is a part of ...
August 09, 2007 12:21AM
Maybe you expect the miracle of realizing your question. May I suggest that you explain it?
Re: this is a part of ...
August 09, 2007 12:18PM
My english is not so good

what i want is that sphider shows additionally one new line with the url of the mainpage. if sphider has indexed
for example: www.ipzvdavi.de/kontact.html
results only show this url:www.ipzvdavi.de/kontact.html

i would additionally show a link like:
this is a part of www.ipzvdavi.de
this url i would write by hand in db with admininterface

you understand me?

bj
rec
Re: this is a part of ...
August 09, 2007 12:39PM
Tec
Re: this is a part of ...
August 09, 2007 01:45PM
christofferus:

In .../templates/xyz/search_results.html
search for:

$weight = "[ $weight %]";

Beyond this row include as additional rows:

$url3 = parse_url($url2);
$url3 = ("$url3[scheme]://$url3[host]"winking smiley;


In the same file search for:

<div class="url"><?=$url2?> - <?=$page_size?></div>

Beyond this row include as new row:

<div class="url">This page belongs to: <?=$url3?></div>


Happy coding

Tec
Re: this is a part of ...
August 10, 2007 06:46PM
great work, thanks a lot TEc for all the efforts
Re: this is a part of ...
August 14, 2007 03:37PM
thank you!

Sorry, but i dont understand it completly

but i think its not this what im searching

i need to give to results an seperate url:
the url what index the sphider is for example: 123.121.12.124/test.htm
but in this extra line i need www.zjgkjhgz.de because the indexed page is not on the same server like the mainpage.
this is the reason while i have to give it by hand into database:

in database is the line called "domains" and there are the columns "domain_id" and "domain"

i would here create a new column for example "mainurl" and this should sphider outparse in resultpage

i can create a new column and i can fill out this with a script but how i make the results

sorry i am a newbee in mysql- and php-things but i am patiently and ready to learn.

i hope you are also patiently with me.

god bless you all

bj
Tec
Re: this is a part of ...
August 14, 2007 06:51PM
Sorry, but now I do't understand it anymore.

In your first posting of this threat you were discussing about framesets.
In your second posting you were discussing about subfolders. This is what I prepared a solution for.
In your third posting now you are discussing something like "Sphider can leave domain".

If I understand well your last posting you already have a modified database. In table "domain" you prepared a new column called "mainurl". This column already holds the mainurl you entered manually. I hope I'm right until here.
Now on the result page you just want to print an additional row with the contents of the column "mainurl" ?

Tec

p.s. As you are always using .de examples you might prefer to write a German personal message [www.sphider.eu] to me.
Re: this is a part of ...
August 14, 2007 09:54PM
exactly
Sorry, only registered users may post in this forum.

Click here to login