phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
RSS Autodiscovery

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 157
Location: Turkey

RSS AutodiscoveryPosted: Tue Apr 01, 2008 10:46 am    Post subject: RSS Autodiscovery

Hello all.
I am using;

phpbb 2.0.23,
[Advanced] Zero Duplicate 0.2.2,
Google Yahoo MSN Sitemap And RSS 1.2.0RC4,
Advanced mod Rewrite 0.2.4.

How to i can make RSS Autodiscovery automatic?
(all rss example: rss.xml, rss-m, forumidrss.xml ... ... topicrss.xml)

example other same addon:
Code:
##############################################################
## MOD Title: RSS Autodiscovery Add-On for RSS Feed 2.x
## MOD Author: chyduskam < chuduskam@debilarius.ru > (Egor Naklonyaeff) N/A
## MOD Description: RSS Autodiscovery using <link> tag in HTTP <head> section
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: 1
##    includes/page_header.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: Compatible with RSS Feed MOD and RSS Content Syndicator MOD
##############################################################
## MOD History:
##
##   2005-01-14 - Version 1.0.1
##      - fix missing quote in string after "else"
##   2005-01-10 - Version 1.0.0
##      - initial release
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]-------------------------------------------------------
#
includes/page_header.php

#
#-----[ FIND ]----------------------------------------
#
//
// Parse and show the overall header.
//

#
#-----[ BEFORE, ADD ]----------------------------------
#
// BEGIN RSS autodiscovery
$rss_forum_id =( isset($HTTP_GET_VARS[POST_FORUM_URL]))? intval($HTTP_GET_VARS[POST_FORUM_URL]): 0;
$rss_path = preg_replace('/^\/?(.*?)\/?$/', '\1', trim($board_config['script_path']));
$rss_script = ( $rss_path != '' ) ? $rss_path . '/rss.' . $phpEx : 'rss.'. $phpEx;
$rss_server_name = trim($board_config['server_name']);
$rss_server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
$rss_server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';
$rss_url=$rss_server_protocol . $rss_server_name . $rss_server_port . $rss_script;
if($rss_forum_id!=0){
      $rss_link='<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$rss_url.'?f='.$rss_forum_id.'" />'."\n";
      $rss_link.='<link rel="alternate" type="application/atom+xml" title="Atom" href="'.$rss_url.'?atom&f='.$rss_forum_id.'" />'."\n";
}
else
{
       $rss_link='<link rel="alternate" type="application/rss+xml" title="RSS" href="'.$rss_url.'" />'."\n";
      $rss_link.='<link rel="alternate" type="application/atom+xml" title="Atom" href="'.$rss_url.'?atom'.'" />'."\n";
}
// END RSS autodiscovery

#
#-----[ FIND ]----------------------------------------
#
//
// The following assigns all _common_ variables that may be used at any point
// in a template.

#
#-----[ BEFORE, ADD ]----------------------------------
#
$nav_links_html.=$rss_link; //  RSS autodiscovery

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

RSS AutodiscoveryPosted: Sun Apr 06, 2008 12:21 pm    Post subject: Re: RSS Autodiscovery

http://www.phpbb-seo.com/boards/gym-sitemaps/discussions-vt1620.html#11700

Wink

_________________
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
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 157
Location: Turkey

RSS AutodiscoveryPosted: Mon Apr 07, 2008 12:45 pm    Post subject: Re: RSS Autodiscovery

Thanks for reply. i installed your mods.
But mysite.com/panolar/grup-hepsi-resimleri-rf3.xml 404 not found.

Rolling Eyes

Please help me...


My ggs_functions.php:
Code:

...
$this->seo_delim = array('cat' => '-vc',
            'forum' => '-rf',
            'topic' => '-vt',
            'user' => '-u'
         );
...


my phpbb_seo_class.php:

Code:

...
$this->seo_delim = array('cat' => '-c',
         'forum' => '-f',
         'topic' => '-t',
         'user' => '-u',
         // Rss
         'rss_forum' => '-rf',
         // Google
         'google_forum' => '-gf'
      );
...


Confused
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13031

RSS AutodiscoveryPosted: Wed Apr 16, 2008 10:25 am    Post subject: Re: RSS Autodiscovery

Have you installed the GYM sitemaps additional rewriterules in your .htaccess ?

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: