| :: |
| Author |
Message |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Mon Nov 13, 2006 11:19 am Post subject: re Adding Content in mx Google Sitemaps listings : |
|
|
I am about to add my additional urls to the url_list .txt file but would like to ask a question first.
Should I add the .php files to the list i.e
http://www.asia-expatsforum.com/phpBB2/soduko.php
or should i add the .tpl file that actually contains the content called up by the .php file??
thanks |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
Posted: Mon Nov 13, 2006 12:20 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
So I assume you're using the little plug-in for this.
The principle is simple, you need to upload all files in the archive (rename sitemap_site1.php and index_site1.php to sitemap_site.php and index_site.php if you're using just one.
Then, you just need to add one URL per line in the url_list .txt file that should be located in mx_ggsitemaps/includes/ and should see a new link in you sitemapIndex : something like www.example.com/sitemap.php?site leading to a Google sitemap listing the URL you put in url_list .txt.
There is no mod rewrite support for this kind of URL for now, but the update I'm working on will and it's no big deal to use it as is until then, it will work.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Mon Nov 13, 2006 12:32 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
yes I am using the plug in but my question is what file to put in the url_list file
Should I add the .php files to the list i.e
http://www.asia-expatsforum.com/phpBB2/soduko.php
or should i add the .tpl file that actually contains the content called up by the .php file??
the php file is dynamic as it uses takes displays the contents of a .tpl file
which file should i add to the list? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Mon Nov 13, 2006 1:30 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
I understand that.
The problem here is that http://www.asia-expatsforum.com/phpBB2/soduko.php actually contains no content--it dynamically creates output using contents of soduko.tpl file
so should I use the php or tpl file in my text list? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
Posted: Mon Nov 13, 2006 8:12 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
I think there is some confusion here, it does not matter if the sudoku game is dynamic as long as the url is not.
It's no problem to submit this particular URL, it's a page with interest for users.
For sure you could think of adding some descriptive introduction in this page, telling a bit more about sudoku and it's rules and the fact you can play on the page, to make it possible for more search queries for this page while you're being useful to your users
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Mon Nov 13, 2006 11:46 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
I am not referring to the soduko game being dynamic. The soduko.php file is dynamic-
I will post the code of both files.
soduko.php
| Code: | <?php
// standard hack prevent
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// standard session management
$userdata = session_pagestart($user_ip, PAGE_TEMPLATE);
init_userprefs($userdata);
// set page title
$page_title = 'Daily Dose';
// standard page header
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
// assign template
$template->set_filenames(array(
'body' => 'soduko.tpl')
);
$template->pparse('body');
// standard page footer
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?> |
and soduko.tpl
| Code: | <html>
<body>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1981841;
var sc_invisible=1;
var sc_partition=18;
var sc_security="9c207e51";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c19.statcounter.com/counter.php?sc_project=1981841&java=0&security=9c207e51&invisible=1" alt="counter free hit invisible" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
<hr />
<div><center><script language="JavaScript">
function js_sudoku_t(){var u=document.location.href;var t='x';if(u.indexOf('?')!=-1){var p=u.indexOf('js_sudoku_t=');
if(p!=-1){t=u.substr(p,20);p=u.indexOf('&',t);if(p!=-1) {t=t.substr(0,p);}}}t='?'+t;return t;}
document.write('<scr' + 'ipt language="JavaScript" src="http://www.sudokupuzz.com/js_sudoku.php' + js_sudoku_t() + '"></scr' + 'ipt>');
</script><a href="http://www.sudokupuzz.com/" target="_blank">Sudoku</a> from SudokuPuzz.com</center></div>
<div> </div>
<hr />
<!--Word of the Day by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Word of the Day</div>
<style>
#WordOfTheDay {width:100%;border:1px #000000 solid;background-color:}
#WordOfTheDay H3 {font:bold 12pt '';color:#000000}
#WordOfTheDay TD.WoDLeft {font:bold 10pt '';color:#000000}
#WordOfTheDay TD {font:normal 10pt '';color:#000000}
#WordOfTheDay A {color:#0000FF}
</style>
<div id=tfd_wod_div style="display:none"><table id=WordOfTheDay>
<tr><td colspan=2 align=center><h3 style="margin-bottom:3pt">
<a href="http://www.thefreedictionary.com/incognizant">incognizant</a></h3></td></tr>
<tr><td class=WoDLeft valign=top align=right>Definition:</td>
<td align=left>Lacking knowledge or awareness; unaware.</td></tr>
<tr><td class=WoDLeft valign=top>Synonyms:</td><td>
<a href="http://www.thefreedictionary.com/unaware">unaware</a>
</td></tr></td></tr></table></div>
<script language="javascript" src="http://img.tfd.com/daily/wod-top.js"></script>
<script language="javascript">document.getElementById("tfd_wod_div").style.display=""</script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of Word of the Day-->
<br>
<!--Article of the Day by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Article of the Day</div>
<style>
#ArticleOfTheDay {width:100%;border:1px #000000 solid;background-color:}
#ArticleOfTheDay H3 {margin-top:0px;font:bold 12pt '';color:#000000}
#ArticleOfTheDay TD {font:normal 10pt '';color:#000000}
#ArticleOfTheDay A {color:#0000FF}
</style>
<script language="javascript"
src="http://img.tfd.com/daily/article-top.js"></script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of Article of the Day-->
<br>
<!--This Day in History by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">This Day in History</div>
<style>
#TodaysHistory {width:100%;border:1px #000000 solid;background-color:}
#TodaysHistory H3 {margin-top:0px;font:bold 12pt '';color:#000000}
#TodaysHistory TD {font:normal 10pt '';color:#000000}
#TodaysHistory A {color:#0000FF}
</style>
<script language="javascript"
src="http://img.tfd.com/daily/history-top.js"></script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of This Day in History-->
<br>
<!--Today's Birthday by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Today's Birthday</div>
<style>
#TodaysBirthday {width:100%;border:1px #000000 solid;background-color:}
#TodaysBirthday H3 {margin-top:0px;font:bold 12pt '';color:#000000}
#TodaysBirthday TD {font:normal 10pt '';color:#000000}
#TodaysBirthday A {color:#0000FF}
</style>
<script language="javascript"
src="http://img.tfd.com/daily/birthday-top.js"></script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of Today's Birthday-->
<br>
<!--In the News by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">In the News</div>
<style>
#InTheNews {width:100%;border:1px #000000 solid;background-color:}
#InTheNews H3 {margin-top:0px;font:bold 12pt '';color:#000000}
#InTheNews TD {font:normal 10pt '';color:#000000}
#InTheNews A {color:#0000FF}
</style>
<script language="javascript"
src="http://img.tfd.com/daily/news-top.js"></script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of In the News-->
<br>
<!--Quotation of the Day by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Quotation of the Day</div>
<style>
#QuoteOfTheDay {width:100%;border:1px #000000 solid;background-color:}
#QuoteOfTheDay TD {font:normal 10pt '';color:#000000}
#QuoteOfTheDay A {color:#0000FF}
</style><div id=tfd_quote_div style="display:none">
<table id=QuoteOfTheDay><tr><td align=left>
It is better to fail in originality than to succeed in imitation.
<br><b><a href="http://columbia.thefreedictionary.com/Melville,+Herman">Herman Melville</b></a><br>(1819-1891)</td></tr></table></div><script language="javascript"
src="http://img.tfd.com/daily/quote-top.js"></script>
<script>document.getElementById("tfd_quote_div").style.display=""</script>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreelibrary.com/">The Free Library</a>
</div></div>
<!--end of Quotation of the Day-->
<br>
<!--Match Up by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Match Up</div>
<style>
#MatchUp {width:100%;border:1px #000000 solid;background-color:}
#MatchUp TD {font:normal 10pt '';color:#000000}
#MatchUp A {color:#0000FF}
#tfd_MatchUp INPUT.tfd_txt {border:1px black solid;height:16pt;font-size:10pt;width:100px;cursor:pointer;margin-top:2px;margin-right:4px;text-align:center}
</style>
<form name=SynMatch method=get action="http://www.thefreedictionary.com/_/MatchUp.aspx" style="display:inline;margin:0" target="_top">
<table id=MatchUp>
<tr><td>
<a title="Add to Google" target=_blank
href="http://www.google.com/ig/add?moduleurl=http%3A//www.thefreedictionary.com/_/WoD/matchup-module.xml"><img
style="width:11px;height:11px;float:right;border:none"
src="http://img.tfd.com/m/add2g.gif" style="width:11px"></a><script language="javascript"
src="http://img.tfd.com/daily/matchup.js"></script>
Match each word in the left column with its synonym on the right. When finished, click Answer to see the results. Good luck!<br><br><center>
<input type=button value="Clear" onclick="tfd_mw_clear()"> <input type=submit value="Answer" onclick="this.form.res.value=tfd_mw_answers"></center>
</td></tr></table></form>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of Match Up-->
<br>
<!--Hangman by TheFreeDictionary.com-->
<div style="width:350px;position:relative;background-color:;padding:4px">
<div style="font:bold 12pt '';color:#000000">Hangman</div>
<style>
#Hangman {border:1px #000000 solid;background-color:;height:120px}
</style>
<iframe id=Hangman src="http://www.thefreedictionary.com/_/WoD/hangman.aspx?#,x000000,x0000FF,10pt,''" width="100%" scrolling="no" frameborder="0"></iframe>
<div style="font:normal 8pt '';color:#000000">
<a style="color:#000000" href="http://www.thefreedictionary.com/lookup.htm">Free content</a>
provided by <a style="color:#000000" href="http://www.thefreedictionary.com/">The Free Dictionary</a>
</div></div>
<!--end of Hangman-->
<script language=Javascript src='http://www.searchtheplanet.com/feeds/bad_advice/main.js'>
</script>
<NOSCRIPT>
Please enable java to view this
</NOSCRIPT>
<br />
<script language=Javascript src='http://www.searchtheplanet.com/feeds/famous_quotes/main.js'>
</script>
<NOSCRIPT>
Please enable java to view this
</NOSCRIPT>
<br />
<script language=Javascript src='http://www.searchtheplanet.com/feeds/travel/main.js'>
</script>
<NOSCRIPT>
Please enable java to view this
</NOSCRIPT>
<hr />
<div>
<style type="text/css">
#so-it-goes
{
/* the containing div. set width, height, colors,
and other properties here. */
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size : 12px;
margin : 5px;
color:#000000;
border:1px solid black;
padding:10px;
width:100%;
text-align:left;
}
#so-it-goes h1
{
/* heading styles */
font-size: 15px;
font-weight: bold;
}
#so-it-goes p{
/* enter paragraph styles */
}
#so-it-goes img{
/* enter image styles */
}
</style>
<script src="http://www.jasonlove.com/syndicate/?key=4efe02a1ada98d0e9d5ef92392e80eed" type="text/javascript"></script></div>
</body>
</html>
|
so do you understand my question now?
which of these 2 files should include in my url_list.txt file?
the php files calls up the tpl file |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
Posted: Tue Nov 14, 2006 8:29 am Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
hum.
Again, the only thing you can submit to Google are URLs, not templates.
It does not really matter if your page is dynamic, all the dynamic part you're talking about are brought on the page using JavaScript so bot won't see any.
That's why I was talking about adding some text, try loading you page without JS.
And actually, the fact it's dynamic does not have nothing to deal with submission, many page we submit are dynamic, or should, like forum's URL showing a last active topic paginated list thus moving a lot or the topic themselves when they get replies, what does not change is the kind of data you'll find on each.
An here, to play sudoku on your forum, you need to hit your sudoko page, whatever the fact there will be a new game upon each load, which is the least we could expect from it.
So again, you only want to list URLs in the Google sitemaps, so it's http://www.asia-expatsforum.com/phpBB2/soduko.php for this particular page.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Tue Nov 14, 2006 8:42 am Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
Ok
Thank you--you answered my question. also I will add some text to those pages which contain java script only. |
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Sat Nov 18, 2006 1:34 am Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
Seems that my sitemap index is not showing any of the urls I added.
I follwed the instructions.
Copied the files to the server and added the urls to the urll text list |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Sat Nov 18, 2006 12:53 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
| where do you see that code? and why dont the extra urls show up in the sitemap? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
Posted: Sun Nov 19, 2006 5:26 pm Post subject: Re: re Adding Content in mx Google Sitemaps listings : |
|
|
I found it at the bottom of your sitemapIndex : -http://www.asia-expatsforum.com/phpBB2/sitemaps.xml
This is one of this module feature to auto detect and integrate additional sitemap php file in the listings. So the link appeared automatically when you uploaded the file from the plug-in
Try loading the added URL, you'll find all the url from the txt file in a Google sitemap.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15125
|
|
| Back to top |
|
 |
|
|