Seite 1 von 1
Kein sichtbarer Webseitentext !?
Verfasst: 06.03.2007, 20:18
von Supergrobi
Hallo,
habe eben mal IBP über meinen Oscommerce-Shop laufen lassen. Nun sind die Ergebnisse ganz in Ordnung, nur kommt beim Bodytext folgende Meldung:
Sie haben keinen sichtbaren Text auf Ihrer Webseite. Da Suchmaschinen nur Text indizieren können, ist es eine gute Idee, 2-3 Absätze hinzuzufügen, die Ihre Seite beschreiben
Wie gesagt, dies ist der Kommentar zu meinem Bodytext.
Liegt das an oscommerce? Und wenn ja, wird das tatsächlich so zum Problem beim Listing?
Verfasst: 06.03.2007, 23:11
von Mac
Hi,
Liegt das an oscommerce?
Liegt das vielleicht daran, daß kein Teil Deines Quelltexts als [body] ausgezeichnet ist? Die gängigen Browser scheinen zwar damit klarzukommen, IBP aber eben nicht.
Gruß,
Mac
Verfasst: 07.03.2007, 07:36
von Supergrobi
Im Oscommerce ist eben alles so verschachtelt, dass meine Index-Datei zu Beginn des Bodytextes folgendermaßen aussieht:
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<tr>
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<?php
if ($category_depth == 'nested') {
$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");
$category = tep_db_fetch_array($category_query);
?>
<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<?php
if (isset($cPath) && strpos('_', $cPath)) {
// check to see if there are deeper categories within the current category
$category_links = array_reverse($cPath_array);
for($i=0, $n=sizeof($category_links); $i<$n; $i++) {
$categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'");
$categories = tep_db_fetch_array($categories_query);
if ($categories['total'] < 1) {
...
Da stellt sich für mich nun eben die Frage, kommt nur IBP damit nicht klar, oder hat diese Konstruktion eventuell Nachteile bei Gurgel und Co.?