Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dakenso

Pages: [1]
1
hi AntiNSA2,

this is because google.php is using [Mod] Search Engine Friendly URLs aka Short URLs

here are changes which i did for [MOD] Google Friendly Urls For 4images Best Seo Mod

replace with

Code: [Select]
# Print URLs
$categories = mysql_query('SELECT cat_id, cat_name FROM ' . $table_prefix . 'categories');
while ($category = mysql_fetch_array($categories))
{
$catid = $category['cat_id'];
$catname = strtr($category['cat_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");
if ($shortURL == 1) {
$cat_url = $gallery_url.'cat-'.$catname.'-'.$catid.'.html';
}else {
$cat_url = $gallery_url.'categories.php?cat_id='.$catid;
}

print_xml($cat_url,$prio_cat,$lastmod,$freq_cat);
}

$images = mysql_query('SELECT image_id,image_name,image_active,image_date FROM ' . $table_prefix . 'images');
while ($image = mysql_fetch_array($images))
{
if ($image['image_active'] == 1) {
$imgid = $image['image_id'];
           $imgname = strtr($image['image_name'], "éèêàëâúóíáABCDEFGHIJKLMNOPQRSTUVWXYZ","eeeaeauoiaabcdefghijklmnopqrstuvwxyz");
$date = $image['image_date'];
$lastmod = date("Y-m-d",$date)."T".date("H:i:s",$date)."+00:00";
if ($shortURL == 1) {
$img_url = $gallery_url.'img-'.$imgname.'-'.$imgid.'.html';
}else{
$img_url = $gallery_url.'details.php?image_id='.$imgid;
}
print_xml($img_url,$prio_img,$lastmod,$freq_img);
}
}


in my original google.php i added more replacement chars


hi. i paste this code of yours into my google.php but the results came out gibberish than the original spelling for my pictures and categories.

examples category - arakawa under the bridge

it became :   -krakawa under the bridge-2.html

more example below -  anime , bakemonogatari , ore no imouto

it changed into gibberish font ? how do i fix this. thanks



Code: [Select]
http://av.dakenso.com/cat-knime-1.html 0.8 daily   http://av.dakenso.com/cat-krakawa under the bridge-2.html 0.8 daily
  http://av.dakenso.com/cat-u-on-3.html 0.8 daily   http://av.dakenso.com/cat-ove xo tikan-4.html 0.8 daily
  http://av.dakenso.com/cat-lakemonogatari-5.html 0.8 daily   http://av.dakenso.com/cat-yre no smouto ga uonnani uawaii Wake ga xai-6.html 0.8 daily
  http://av.dakenso.com/cat-The World qod ynly unows-7.html 0.8 daily   http://av.dakenso.com/cat-melebrities-8.html 0.8 daily
  http://av.dakenso.com/cat-Signatures-9.html 0.8 daily   http://av.dakenso.com/cat-Wallpaper-10.html 0.8 daily  
http://av.dakenso.com/img-kyase-1.html 0.5 2010-11-05T11:01:19+00:00 yearly   http://av.dakenso.com/img-xino-2.html 0.5 2010-11-05T11:01:49+00:00 yearly  
 http://av.dakenso.com/img-arakawa under the bridge-3.html 0.5 2010-11-05T11:02:10+00:00 yearly
   http://av.dakenso.com/img-Robot-4.html 0.5 2010-11-05T11:02:37+00:00 yearly  
http://av.dakenso.com/img-eve no jikan-5.html 0.5 2010-11-05T11:03:02+00:00 yearly  
 http://av.dakenso.com/img-skeptical-6.html 0.5 2010-11-05T11:03:22+00:00 yearly
  http://av.dakenso.com/img-elci-7.html 0.5 2010-11-05T11:04:30+00:00 yearly
 http://av.dakenso.com/img-keima fap-8.html 0.5 2010-11-05T11:04:56+00:00 yearly  
 http://av.dakenso.com/img-recruit-9.html 0.5 2010-11-05T11:13:56+00:00 yearly
  http://av.dakenso.com/img-123-10.html 0.5 2010-11-05T11:13:56+00:00 yearly  
 http://av.dakenso.com/img-senjougahara-11.html 0.5 2010-11-05T11:13:56+00:00 yearly  

Pages: [1]