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..
description
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: description
Without seeing the script, we have no way of knowing. You can change the description with a <meta> tag though like this:
That HTML would need to be placed in the <head> tag in your HTML.
Code: Select all
<meta name="description" content="This is the description here." />Re: description
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];
}
Last edited by Dweebo on Fri Dec 17, 2010 2:20 pm, edited 1 time in total.
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: description
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
Sorry about that.. Changed!.
umm well the site is http://www.lyricsbot.net
its "Scripteen Lyrics Search Engine"
umm well the site is http://www.lyricsbot.net
its "Scripteen Lyrics Search Engine"
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: description
Well, without scanning through the whole code, since $description wasn't in the default config, it probably doesn't work.
Re: description
hmm, I'm really stuck on what I should do. 