1
Shetty
Is Xoops google friendly - any tips
  • 2005/9/11 18:36

  • Shetty

  • Just popping in

  • Posts: 5

  • Since: 2005/9/6 1


hi

how do i make my XOOPS site google friendly ?
any tips and tricks

Shetty

2
tzvook
Re: Is Xoops google friendly - any tips
  • 2005/9/11 19:31

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Xoops is quite google friendly.
I opened http://gifts.meant4u.com/ to the web, in 4 days it got to the 9th place (from about 46,000,000) ...
It is a gifts directory, Take a look @ here: http://www.google.com/search?q=gifts+directory&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:he-IL:official

But it depends in a lot of things, not just google and not just xoops, you need to know how to build your theme, how to put keywords in each small tag and so on...
some module are frienlier then others: like weblinks and the news module and so on ......

SEO is something to learn and is quite endless, XOOPS is friendlier as you make it to be ... most of the ppls tend to blame the tools they use instead of learning how to use them as they should, and how to feed googles in the right content...

3
carnuke
Re: Is Xoops google friendly - any tips
  • 2005/9/11 20:48

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


taqke a look at this FAQ
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

4
Intuit
Re: Is Xoops google friendly - any tips
  • 2005/9/15 20:54

  • Intuit

  • Just popping in

  • Posts: 60

  • Since: 2005/8/2 1


The jury is still out for me. My site only has 10 pages indexed by Google and its been up for over 2 months. Yahoo and MSN seem to fair alot better though. I am still learning all this myself...
--
I
http://www.articles4business.com - post your small business/financial/internet biz articles here to promote your site!
http://www.seductionhome.com

5
indream
Re: Is Xoops google friendly - any tips
  • 2005/9/15 22:40

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


i'm use a sitemap for google

this my code for news module

sitemap.php
(500);?>
("Content-type: text/xml"); 
include 
"mainfile.php"
$resultb mysql_query("SELECT storyid FROM XOOPS_stories LIMIT 0,5000"); 

?> 
echo ''?> 
echo ''?> 
=1
while (
$resultat mysql_fetch_array($resultb)) { 
$storyid=$resultat["storyid"]; 
$date=date('Y-m-d'); 
echo 

 
http://www.site.com/modules/news/article.php?storyid=
$storyid 
$date 
weekly 
0.5 
 "

$i++; 
?> 


edit this code database prefix and charset for your website.

i add this php file in google sitemap panel
google listed my all news item (600) :)

6
givething
Re: Is Xoops google friendly - any tips
  • 2005/9/16 18:12

  • givething

  • Just popping in

  • Posts: 7

  • Since: 2005/9/16


Hi - I am very new to XOOPS, but not to websites. I just don't know php yet. I really want to have a sitemap for my XOOPS installation, (here GIVEthing)
but can't get it to go right! Please can you help? I tried the code above, edited like this:


include "mainfile.php";
$resultb = mysql_query("SELECT storyid FROM XOOPS_stories LIMIT 0,5000");

?>
'; ?>
'; ?>
while ($resultat = mysql_fetch_array($resultb)) {
$storyid=$resultat["storyid"];
$date=date('Y-m-d');
echo "

http://www.givething.info/mything/modules/news/article.php?storyid=$storyid
$date
weekly
0.5
";
$i++;
} ?>


I get this error:
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://www.givething.info/mything/sitemap.php
Line Number 2, Column 1:
^
I tried this:

include "mainfile.php";
$resultb = mysql_query("SELECT storyid FROM XOOPS_stories LIMIT 0,5000");

?>
'; ?>
'; ?>
while ($resultat = mysql_fetch_array($resultb)) {
$storyid=$resultat["storyid"];
$date=date('Y-m-d');
echo "

http://www.givething.info/mything/modules/news/article.php?storyid=$storyid
oc>
$date
weekly
0.5
";
$i++;
} ?>


I get this error:
XML Parsing Error: no element found
Location: http://www.givething.info/mything/sitemap1.php
Line Number 5, Column 11:
----------^

What do I do next - Any ideas please?

7
indream
Re: Is Xoops google friendly - any tips
  • 2005/9/16 19:09

  • indream

  • Not too shy to talk

  • Posts: 170

  • Since: 2004/9/21


create a new sitemap.php
copy this codes in sitemap.php

(500);?>
("Content-type: text/xml"); 
include 
"mainfile.php"
$resultb mysql_query("SELECT storyid FROM [b]XOOPS[/b]_stories LIMIT 0,5000"); 

?> 
echo ''?> 
echo ''?> 
=1
while (
$resultat mysql_fetch_array($resultb)) { 
$storyid=$resultat["storyid"]; 
$date=date('Y-m-d'); 
echo 

 
http://www.[b]website.com[/b]/modules/news/article.php?storyid=
$storyid 
$date 
weekly 
0.5 
 "

$i++; 
?> 


change all bold values to your website values

sample:
XOOPS_stories to yourdbtableprefix_stories
ISO-8859-9 to your lang code

upload root and look if work go google sitemap panel.

or

use xoops.org search for sitemap module and try this applicaton with sitemap module.

8
dean_collins
Re: Is Xoops google friendly - any tips

hi, sorry for the dumb question but is this to be used in addition to the XOOPS google module or in place of it?

I've just downloaded the google sitemap and it appears to be functioning (I've added it to the google registration but not sure if has been read yet).

TIA,
Dean

9
dean_collins
Re: Is Xoops google friendly - any tips

hi, sorry for the dumb question but is this to be used in addition to the XOOPS google module or in place of it?

I've just downloaded the google sitemap and it appears to be functioning (I've added it to the google registration but not sure if has been read yet).

TIA,
Dean

10
givething
Re: Is Xoops google friendly - any tips
  • 2005/9/17 22:49

  • givething

  • Just popping in

  • Posts: 7

  • Since: 2005/9/16


Thank you so much for your help - but I still get the crazy parsing error even after getting a php expert to check my code. I also tried the sitemap plug in module's xml_google.php, but couldn't get that file to work either. (Although I do now have a nice sitemap for visitors). Finally, I found this link in a post in the Google Sitemaps Group:
http://www.softswot.com/sitemapxml.php" rel="noopener external" title="">SoftSwot

and found I was able to generate a great sitemap.php file online, and it's really easy to use!

I am now in the process of installing the application on my server so that I can generate the sitemap dynamically, and to the required depth. I recommend this app for any other newb users like myself who don't have the php skills.

Login

Who's Online

143 user(s) are online (123 user(s) are browsing Support Forums)


Members: 1


Guests: 142


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits