Page 1 of 1

description

Posted: Fri Dec 17, 2010 2:00 pm
by Dweebo
Is their such thing as

$Description

I downloaded a "script"

and the description on Google just shows up as my domain name..

I'm in the config file and I notice their is a

$site="http://www.lyricsbot.net/"; // leave trailing slash /
$title="Lyricsbot.net";

but no description..

Re: description

Posted: Fri Dec 17, 2010 2:04 pm
by Jonah Bron
Without seeing the script, we have no way of knowing. You can change the description with a <meta> tag though like this:

Code: Select all

<meta name="description" content="This is the description here." />
That HTML would need to be placed in the <head> tag in your HTML.

Re: description

Posted: Fri Dec 17, 2010 2:11 pm
by Dweebo
Thanks! yeah that I knew I just wasn't sure if I could use it because of the layout for this script... the "config" file is as follows..

Code: Select all

<?php

$site="http://www.lyricsbot.net/"; // leave trailing slash /
$title="Lyricsbot.net";
$index_cache=24; // How many hours will the script keep the home page cache - 24 hours recommended.
$lyrics_cache=90; // How many days will the script keep the lyrics cache - 90 days recommended.

$use_proxy='no'; // use either  yes or  no

if ($use_proxy=="yes"){
// Please test the proxy and make sure it works before using it in the config fields below
$proxy_ip = '';  // use format ip:port  ex. 202.106.121.134:80 - get more from http://www.samair.ru/proxy/time-01.htm
$proxy_user = :';  // use format user: - some proxies don't need user/pass so in such case make it $proxy_user = '';
} 

$cookiefile='cookies.txt'; // better leave this as it is.

// don't modify under this line.


function getstring($a,$b,$c){ 
$y = explode($b,$a);
$x = explode($c,$y[1]);
return $x[0];
}
function getstring_artist($a,$b,$c){ 
$y = explode($b,$a,2);
$x = explode($c,$y[1],2);
return $x[0];
}

Re: description

Posted: Fri Dec 17, 2010 2:15 pm
by Jonah Bron
Not the config file, the script you downloaded. And please use the PHP Code button to surround your code with

Code: Select all

[/syntax ] tags.

Re: description

Posted: Fri Dec 17, 2010 2:21 pm
by Dweebo
Sorry about that.. Changed!.

umm well the site is http://www.lyricsbot.net

its "Scripteen Lyrics Search Engine"

Re: description

Posted: Fri Dec 17, 2010 2:37 pm
by Jonah Bron
Well, without scanning through the whole code, since $description wasn't in the default config, it probably doesn't work.

Re: description

Posted: Fri Dec 17, 2010 8:31 pm
by Dweebo
hmm, I'm really stuck on what I should do. :(