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  
 
   
sitemaps rss

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Sun Jul 15, 2007 12:23 pm    Post subject: sitemaps rss

is this gym sitemaps rss able for images.
can it pick up an image in a pos at all?
Back to top
HB
phpBB SEO Team
phpBB SEO Team


Joined: 16 Oct 2006
Posts: 809

sitemaps rssPosted: Sun Jul 15, 2007 2:01 pm    Post subject: Re: sitemaps rss

You can control how much text and whether images are included in RSS feeds, though they will be loaded from your server (via the referenced <img> tag in the feed). The ACP also has options for controlling whether the content of common BBcode tags are included in the feed (e.g., [quote]). For example, I use this option to exclude quoted text from the feed and replace them with {quote}.

_________________
Dan Kehn
Back to top
Visit poster's website
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Sun Jul 15, 2007 11:17 pm    Post subject: Re: sitemaps rss

Thank you for info.
Back to top
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Sat Nov 10, 2007 5:53 pm    Post subject: Re: sitemaps rss

I am sorry for delay
i only now start looking at sitemaps
can someone help me with this
i want to have mod that shows forum image on index
will this rss feed be possible for the forum images to be shown
i can see option that says
Code:
Forum Image
The forum image that will be displayed in the RSS feeds. The image folder is sitemapzimg/. Ex : rss_forum.gif.

but this will only do same image for all.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

sitemaps rssPosted: Sun Nov 18, 2007 12:29 pm    Post subject: Re: sitemaps rss

phpBB2 does not have a personalized image for each forums by default, but the GYM modules RSS feeds are build in a way that make it possible for an easy hack in case you installed a mod to use personalized images for forums.

Please post a link to the mod you used to add personalized forum images, and I'll tell you how to use them in the forum feeds as well 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
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Tue Nov 20, 2007 3:57 am    Post subject: Re: sitemaps rss

dcz wrote:
phpBB2 does not have a personalized image for each forums by default, but the GYM modules RSS feeds are build in a way that make it possible for an easy hack in case you installed a mod to use personalized images for forums.

Please post a link to the mod you used to add personalized forum images, and I'll tell you how to use them in the forum feeds as well Wink

++


thank you dcz
this is it
http://www.phpbbhacks.com/download/5106

Do you know of better mod? i thinking that this looks simple and neat.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

sitemaps rssPosted: Fri Nov 23, 2007 2:48 pm    Post subject: Re: sitemaps rss

Well it is indeed a basic one.

Problem raised is this code is not centralized at all, and thus not really optimized.

Since we'd need to declare your custom images as an array with this mod for the GYM modules, I think it would even be better to do it once and for all for the mod as well.

So, you could declare an array in common.php, at the very end, right before :

Code:
?
>


You could add :
Code:

$forum_images = array();$forum_images = array( 1 => 'http://www.url.com/forum/templates/subSilver/images/yourpicture.gif',
   2 => 'http://www.url.com/forum/templates/subSilver/images/yourpicture.gif',
);

It's the same principle as the :
Code:
         if ($forum_id == 1) $PICS_IMG = ( $unread_topics ) ? "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif" : "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif";
         if ($forum_id == 2) $PICS_IMG = ( $unread_topics ) ? "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif" : "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif";
         if ($forum_id == 3) $PICS_IMG = ( $unread_topics ) ? "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif" : "http://www.url.com/forum/templates/subSilver/images/yourpicture.gif";


from the mod, you'd need to set the images manually, adding new line in the array corresponding to the corresponding forum ids.

Pattern would be :

Code:
forum_id => "image_url_with_domain",


Then, you' only need to replace all the above lines (all of the images déclaration) from the mod's code in index.php with :
Code:
$PICS_IMG = (isset($forum_images[$forum_id]) && $unread_topics ) ? $forum_images[$forum_id] : '';


With this change, you'll be able to replace :
Code:
      // Set forum Image, do it here in case one want to output a specific image per forum
      $forum_image = sprintf($this->style_config['rsschan_img_tpl'], $chan_title, $this->rss_config['rss_forum_image'], $item_opt[$forum_id]['forum_url']);


with :
Code:
      // Set forum Image, do it here in case one want to output a specific image per forum
      global $forum_images;
      $PICS_IMG = (isset($forum_images[$forum_id]) ? $forum_images[$forum_id] : $this->rss_config['rss_forum_image'];
      $forum_image = sprintf($this->style_config['rsschan_img_tpl'], $chan_title, $this->rss_config['rss_forum_image'], $item_opt[$forum_id]['forum_url']);


Should do the trick 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
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Sat Nov 24, 2007 2:23 pm    Post subject: Re: sitemaps rss

DCZ Thanks

I will look at this.

Do you think there is a better mod for the images on index? what is this?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

sitemaps rssPosted: Sun Nov 25, 2007 2:37 pm    Post subject: Re: sitemaps rss

Forum Icon with ACP Control is more complete, but, means more work to install.

++

_________________
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
tweety
PR0
PR0


Joined: 24 Jan 2007
Posts: 94

sitemaps rssPosted: Mon Dec 03, 2007 7:33 am    Post subject: Re: sitemaps rss

dcz you convince me that work is good here
i will delete old mod and install this
will this work then with rss image?
Back to top
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: