Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 73

Thread: Sitemap Generator integration

  1. #31

    Default

    how we can generate sitemap urls for blogs and cms ?

  2. #32
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by magmf View Post
    how we can generate sitemap urls for blogs and cms ?
    Actual integration solution supports only threads links. We can search for solutions supporting translation of blogs and cms links if they are supported by Sitemap Generator.

  3. #33

    Default

    sitemap 2.6 Beta 2

    support blogs and cms can you take a look ?

  4. #34
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by magmf View Post
    sitemap 2.6 Beta 2

    support blogs and cms can you take a look ?
    OK - we will take a look. We have right now some more things because of employee looking. Our team will grow soon (probably in last week of this month). Because of that we will take care about this integration issue not immediatelly - hope that it is ok for you It is, already on TODO list

  5. #35

    Default

    Hey vbet i created a shell script and i'm running 100% on my box

    Code:
    #!/bin/bash
    
    for i in af sq ar be bg ca zh-CN hr cs da nl en pl pt et tl fi fr gl de el iw hi hu is id ga it ja ko lv lt mk ms mt no fa ro ru sr sk sl es sw sv zh-TW th tr uk vi cy yi
    do
    	zcat sitemap_index.xml.gz |sed "s/<loc>http:\/\/under-linux.org\/sitemap/<loc>http:\/\/under-linux.org\/sitemap$i/" > sitemap"$i"_index.xml
    	dos2unix sitemap"$i"_index.xml
    	gzip -f sitemap"$i"_index.xml
    	count=1
    	for k in `ls -la sitemap_*.xml.gz | grep -v index | awk {'print $8'}`
    	do
    		zcat sitemap_"$count".xml.gz | sed "s/<loc>http:\/\/under-linux.org\//<loc>http:\/\/under-linux.org\/$i\//" > sitemap"$i"_"$count".xml
    		dos2unix sitemap"$i"_"$count".xml
    		gzip -f sitemap"$i"_"$count".xml
    
    		count=`expr $count + 1`
    	done
    done
    you just need remove what languages you don't want and change under-linux.org to your website address. in this case i'm running in my forum root.

    This will make the process faster and will not use generate php memory issues

    save this script at vbseo_sitemap/data directory as convert.sh
    chmod +x convert.sh
    to run use
    ./convert.sh

    and than you will be able to use sitemaplanguage_index.xml.gz as your sitemap change "language" for en, es or another language

    let me know if you need any other explanation.


    Also you need add this script on system crontab after the time vbseo sitemap crontab runs.

    Thanks,

  6. #36

    Thumbs down readme bad, bad translation = bad plugin

    Text automatically translated from: German to: English
    Translated text
    I've really tried to follow the readme and instructions, but because of poor English I have found is obviously something wrong, I have my vbseo_sitemap_functions.php well-edited wrong.

    Please help me change the file to correctly deal ...
    Original text

    Code:
       
    if($vboptions['vbseo_sm_freq_tsmart'])
       		    	{
       		    		$dpassed = (time() - $threadrow['lastpost'])/86400;
       		    		if($dpassed<3)$freq = 'daily';
       		    		else if($dpassed<10)$freq = 'weekly';
       		    		else if($dpassed<100)$freq = 'monthly';
       		    		else $freq = 'yearly';
       		    	}else
        		    	$freq = $vboptions['vbseo_sm_freq_t'];
        		    	     
                	vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
    //additional code  
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');  
    if(!$archived) {  
      $strlenhost = strlen($vbseo_vars['bburl']."/");  
      $currentthreadurl = vbseo_url_thread($threadrow, $p, $archived); 
      $currentthreadurl_before = substr($currentthreadurl,0,$strlenhost); 
      $currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost); 
      $lastpost =& $threadrow['lastpost']; 
      $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls($alanguages); 
      foreach($alanguages as $language) {  
        vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq);  
      }  
    }    
    //end additional code 
    
        			for($p=1; $p<=$totalpages; $p++)
        			{
        			$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
        				vbseo_url_thread($threadrow, $p, $archived),
        				vbseo_url_thread($threadrow, $p, $archived, true),
        				$prior,
        				$threadrow['lastpost'],
    					$freq
        			);
    				
    				}
    
        			if($showpost)
        			{
    
     ...
    Text automatically translated from: German to: English
    Translated text

    This is the error that occurs when my Google Sitemap.xml's opens:

    Status Details
    Invalid URL
    This is not a valid URL. Correct the URL and submit the data again.
    URL:
    http://array
    Parent tag: url
    Tag: loc
    Problem identified on: 19/06/2010


    Thank you!
    Original text
    Last edited by wowglider.de; 19-06-10 at 14:32.

  7. #37

    Default

    Text automatically translated from: German to: English
    Translated text
    Original text

  8. #38

    Default

    Text automatically translated from: German to: English
    Translated text
    Is it possible to get any help? Google can not retrieve my sitemaps!
    Original text

  9. #39

    Default

    Text automatically translated from: German to: English
    Translated text
    Oh, how I get through the "Language: Deutsch Do not add language"
    Original text

  10. #40
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by wowglider.de View Post
    Text automatically translated from: German to: English
    Translated text
    I've really tried to follow the readme and instructions, but because of poor English I have found is obviously something wrong, I have my vbseo_sitemap_functions.php well-edited wrong.

    Please help me change the file to correctly deal ...
    Original text

    Code:
       
    if($vboptions['vbseo_sm_freq_tsmart'])
       		    	{
       		    		$dpassed = (time() - $threadrow['lastpost'])/86400;
       		    		if($dpassed<3)$freq = 'daily';
       		    		else if($dpassed<10)$freq = 'weekly';
       		    		else if($dpassed<100)$freq = 'monthly';
       		    		else $freq = 'yearly';
       		    	}else
        		    	$freq = $vboptions['vbseo_sm_freq_t'];
        		    	     
                	vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
    //additional code  
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');  
    if(!$archived) {  
      $strlenhost = strlen($vbseo_vars['bburl']."/");  
      $currentthreadurl = vbseo_url_thread($threadrow, $p, $archived); 
      $currentthreadurl_before = substr($currentthreadurl,0,$strlenhost); 
      $currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost); 
      $lastpost =& $threadrow['lastpost']; 
      $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls($alanguages); 
      foreach($alanguages as $language) {  
        vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq);  
      }  
    }    
    //end additional code 
    
        			for($p=1; $p<=$totalpages; $p++)
        			{
        			$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
        				vbseo_url_thread($threadrow, $p, $archived),
        				vbseo_url_thread($threadrow, $p, $archived, true),
        				$prior,
        				$threadrow['lastpost'],
    					$freq
        			);
    				
    				}
    
        			if($showpost)
        			{
    
     ...
    Text automatically translated from: German to: English
    Translated text

    This is the error that occurs when my Google Sitemap.xml's opens:

    Status Details
    Invalid URL
    This is not a valid URL. Correct the URL and submit the data again.
    URL:
    http://array
    Parent tag: url
    Tag: loc
    Problem identified on: 19/06/2010


    Thank you!
    Original text
    Please note that in readme.html there is no Sitemap Generator description included. Integration instructions for Sitemap Generator are here: http://www.vbenterprisetranslator.co...tegration.html

    As I see you have code described there but you have it wrong. Please undo those changes and copy our code first. Then check is it working. And after that if you want do optional modification described at the end of first post. And please make sure you do it right. Now it is wrong. According to optional modification step - you have to put our code in other place (before described line) and after that do small modification. Now you just changed one of our code line not as it was described.

    Also - if Google cannot retrieve your sitemaps at all then make sure that you have appropriately set your .htaccess file. Please check integration instructions again - sitemap rule must be placed before vBET rules. If you are not sure about it - please just post here whole your .htaccess file and we will verify it

    Please note that I do not know what do you mean by your last comment from last post here. Please describe it more if it is relevant

    PS.
    After we solve your issues this thread will be merged with Sitemap Generator integration thread. It stays here now only to make you easier to find it in place where you expect it, but we already have thread for Sitemap Generator integration issues.

Page 4 of 8 FirstFirst ... 23456 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •