| Author |
Message |
Misha
Newbie


Joined: Oct 05, 2006
Posts: 15
|
Posted:
Sat Oct 07, 2006 10:39 am |
|
This one is harder. I tried to use the code you provided for backend.php, but it did not work here. Since I do not understand how tapping works, I'm stuck Copy and paste is not enough here  |
_________________ www dot funandsafedriving dot com - My safe driving site |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Sat Oct 07, 2006 11:28 am |
|
I have this one almost 70% complete (100% for the modules that I use here on this site). I will either create a download or post notes here on how to accomplish that tap. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
jakec
Newbie


Joined: Nov 16, 2006
Posts: 1
|
Posted:
Mon Nov 20, 2006 4:36 pm |
|
Montego, did you manage to get any further with the NukeSEO tap?
I appreciate you're probably pretty busy with RN etc, but just thought I would ask.
Jakec |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Tue Nov 21, 2006 12:12 am |
|
Sorry about that folks! Keep getting derailed with life. I hope to get back to it soon. I have some vacation to burn before the end of the year...  |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 297
|
Posted:
Tue Nov 21, 2006 6:09 pm |
|
Shucks, I got all excited then when I saw the new post icon flashing under this thread. |
| |
|
|
 |
Misha
Newbie


Joined: Oct 05, 2006
Posts: 15
|
Posted:
Tue Nov 21, 2006 7:02 pm |
|
[quote="Guardian"]Shucks, I got all excited then when I saw the new post icon flashing under this thread.[/quote]
me, too  |
_________________ www dot funandsafedriving dot com - My safe driving site |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Thu Nov 23, 2006 12:55 am |
|
Misha / Guardian / Jakec,
Here is Thanksgiving present to you! I have gone back and re-done the ShortLinks for nukeSEO's Sitemap (including the Google Sitemap) and here you go...
=== .htaccess ===
As long as you have the necessary module .htaccess statements, no changes are necessary. For example, if you have the Downloads or Web Links (yes, I said Web Links!) in your sitemap, as long as the .htaccess statements for Downloads and Web Links are there, you are in good shape.
=== CREATE FILE ===
ShortLinks/GT-Sitemap.php
=== WITH THESE URLIN/URLOUT ===
| Code: |
$urlin = array(
'"(?<!/)modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&mode=&order=0&thold=0"',
'"(?<!/)modules.php\?name=Forums&file=viewtopict=([0-9]*)"',
'"(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)&mode=&order=0&thold=0"',
'"(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)"',
'"(?<!/)modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"(?<!/)modules.php\?name=Surveys&op=results&pollID=([0-9]*)"',
'"(?<!/)modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)"',
'"(?<!/)modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)"',
'"(?<!/)modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)"',
'"(?<!/)modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"(?<!/)modules.php\?name=Web_Links&l_op=viewlink&cid=([0-9]*)"'
);
$urlout = array(
'ftopict-\\1.html',
'ftopict-\\1.html',
'article\\1.html',
'article\\1.html',
'download-file-\\1.html',
'survey-results-\\1.html',
'encyclopedia-\\1.html',
'encyclopedia-list-\\1.html',
'faq-\\1-.html',
'content-\\1.html',
'link-\\1.html'
);
|
=== CREATE FILE ===
ShortLinks/GT-SitemapGoogle.php
=== WITH THESE URLIN/URLOUT ===
| Code: |
$urlin = array(
'"modules.php\?name=News&file=article&sid=([0-9]*)&mode=&order=0&thold=0"',
'"modules.php\?name=News"',
'"modules.php\?name=Content&pa=showpage&pid=([0-9]*)"',
'"modules.php\?name=Content"',
'"modules.php\?name=Downloads&op=getit&lid=([0-9]*)"',
'"modules.php\?name=Downloads"',
'"modules.php\?name=Forums&file=viewtopic&t=([0-9]*)&mode=&order=0&thold=0"',
'"modules.php\?name=Forums"',
'"modules.php\?name=Surveys&op=results&pollID=([0-9]*)"',
'"modules.php\?name=Surveys"',
'"modules.php\?name=Encyclopedia&op=content&tid=([0-9]*)"',
'"modules.php\?name=Encyclopedia&op=list_content&eid=([0-9]*)"',
'"modules.php\?name=Encyclopedia"',
'"modules.php\?name=FAQ&myfaq=yes&id_cat=([0-9]*)"',
'"modules.php\?name=FAQ"',
'"modules.php\?name=Web_Links&l_op=viewlink&cid=([0-9]*)"',
'"modules.php\?name=Web_Links"'
);
$urlout = array(
'article\\1.html',
'news.html',
'content-\\1.html',
'content.html',
'download-file-\\1.html',
'downloads.html',
'ftopict-\\1.html',
'forums.html',
'survey-results-\\1.html',
'surveys.html',
'encyclopedia-\\1.html',
'encyclopedia-list-\\1.html',
'encyclopedia.html',
'faq-\\1-.html',
'faq.html',
'link-\\1.html',
'links.html'
);
|
=== OPEN FILE ===
modules/Sitemap/index.php
=== FIND CODE ====
| Code: |
switch ($op){
case 'Google':
header('Content-Type:text/xml');
|
=== REPLACE WITH ===
| Code: |
switch ($op){
case 'Google':
//Added by montego from http://montegoscripts.com for TegoNuke(tm) ShortLinks
global $tnsl_bUseShortLinks, $tnsl_bAutoTapBlocks, $tnsl_bDebugShortLinks, $tnsl_sGTFilePath;
if (defined('TNSL_USE_SHORTLINKS')) {
$_REQUEST['name'] = 'SitemapGoogle';
$GLOBALS['tnsl_asGTFilePath'] = tnsl_fPageTapStart();
}
//Done add
header('Content-Type:text/xml');
|
=== FIND CODE ===
| Code: |
echo "\n</urlset>";
break;
|
=== REPLACE WITH ===
| Code: |
echo "\n</urlset>";
//Added by montego from http://montegoscripts.com for TegoNuke(tm) ShortLinks
if (defined('TNSL_USE_SHORTLINKS')) {
tnsl_fPageTapFinish();
}
//Done add
break;
|
=== YOU ARE DONE!!! ===
Enjoy, and Happy Thanksgiving!
Edited on 9-May-2007 by montego - updated the GT statements based on what I have running on this site here. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins
Last edited by montego on Thu May 10, 2007 12:02 am; edited 1 time in total |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 297
|
Posted:
Thu Nov 23, 2006 4:12 am |
|
Awsome - Happy Thanks Giving!!!!
Thank you very much!!!!!
I'll get this set up ready so as soon as the NSN GR Downloads is available I'm good to go woohoo. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Thu Nov 23, 2006 10:09 am |
|
It's already ready my friend. Check out the new download gift... |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins
Last edited by montego on Sat Nov 25, 2006 11:14 pm; edited 1 time in total |
|
|
 |
Misha
Newbie


Joined: Oct 05, 2006
Posts: 15
|
Posted:
Sat Nov 25, 2006 3:19 pm |
|
It works like a charm!
Thanks a million, montego!  |
_________________ www dot funandsafedriving dot com - My safe driving site |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Sat Nov 25, 2006 11:17 pm |
|
You are most welcome. Just glad that I already had it installed here. Just made it fairly quick and easy to get it into a download. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
kguske
Newbie


Joined: Dec 11, 2005
Posts: 19
|
Posted:
Wed May 09, 2007 11:39 pm |
|
OK - I'm coming around on short links... I'll explain the details after I complete the research and analysis, but I'd like to test the tapped sitemap. I couldn't find a download - is the code above current? |
_________________ nukeSEO.com - PHPNuke SEO search engine optimization and other professional tools for PHP-Nuke |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 926
|
Posted:
Thu May 10, 2007 12:03 am |
|
Kguske, I have just updated the GT statements based upon what I am using here on this site. Not sure why I had to change them, but I would take these as the latest. (See above.) |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
kguske
Newbie


Joined: Dec 11, 2005
Posts: 19
|
Posted:
Thu May 10, 2007 12:10 am |
|
Thanks. Several concurrent projects, and I'll be traveling next week, but as soon as I complete the analysis, I'll follow up with you. Cheers! |
_________________ nukeSEO.com - PHPNuke SEO search engine optimization and other professional tools for PHP-Nuke |
|
|
 |
pezzer1
Newbie


Joined: Nov 26, 2007
Posts: 22
|
Posted:
Fri Nov 30, 2007 12:09 pm |
|
This seems like the latest information on this topic even though it's from May of 2007...
To continue from this topic...
I noticed my Sitemap isn't tapped as yours is, so I put it this tap as listed in this thread...
I think I did it correctly, but my sitemap page is now broken - I get the following text at the top of the page.
$urlin = array( '"(?Sitemap ©
I'm not very good with PHP, so I have no clue what's wrong. One thing I noticed is the two files, GT-Sitemap.php and GT-SitemapGoogle are formatted differently, the first starts like this...
| Code: |
$urlin = array(
'"(?<!/)modules.php\?name= |
The Google one starts like this...
| Code: |
$urlin = array(
'"modules.php\?name= |
Identical except for the ( ? < ! / ) - Is this by design or is the Google one missing an important string? |
| |
|
|
 |
|
|