// Add an array of urls with full arguments to the top of the sitemap
// To add another url with full options the date must be in the format Year-Month-day, if empty it defaults to today
// Default priority is 0.5 (use 0.1 to 1.0)
// Default change frequency is monthly (can be always, never, weekly or monthly)
$prioritypages = array(
array(loc=>$config['jamroom_url'].'/index.php',lastmod=>"",changefreq=>"always",priority=>"1.0"),
// array(loc=>$config['jamroom_url'].'/anotherfile.php',lastmod=>"2006",changefreq=>"never",priority=>"0.6"),
);
// You can exclude individual links by entering the Link Title into the $exclude_dblink, separated by a comma.
// set $includedatabaselinks = 0 if you do not want your links included or have no links in the database
// You would want to exclude external links
$includedatabaselinks = 1;
$exclude_dblink = "";
/**********************************************************************
** ARTIST AND MEMBER DIRECTORIES
***********************************************************************/
// Enter files to be excluded from all artist and member directories here
// $exclude_start excludes all files starting with...
$exclude_start = "";
// $exclude_end excludes all files ending with...
$exclude_end = "_list.php";
// $exclude_numeric_start excludes all files starting with a number followed by this...
$exclude_numeric_start = "_info.php,_lyrics.php";
// $exclude_numeric_end excludes all files starting with the given string followed a number followed by .php
$exclude_numeric_end = "Store_,Blog_,Channel_,Radio_,Video_,Photo_,Event_,Vault_,Song_,";
// The following do not have switches, they should not be empty.
// $exclude_file excludes these specifically named files...
$exclude_file = "default_list.php,video_player.php,user.php,player.php,channel_player.php,side.php,thank.php";
// Files in the members directory with these extensions will not appear in the sitemap
$ignore_ext = ".jpg,.gif,.png,.htaccess,.txt,.xml,.css,.html";
// You can also exclude additional full filenames to be applied to individual quotas
// Add a new array for each quota you want to apply this to
$quota_exclude = array(
array(fromquota=>"-1",quota_exclude_files=>"store.php,audio.php,video.php,video_chart.php,radio.php,photo.php,channel.php,chart.php,event.php"),
// array(fromquota=>"1",quota_exclude_files=>"radio.php")
);
/**********************************************************************
** FINAL URLS
***********************************************************************/
// if $finalurls_switch is set to 1, $finalurls appear at the bottom of the sitemap.
// Write whole urls including http:// and separate them with a comma.
// Do not list external urls
$finalurls = "";
_________________ Kulshi Mezian!
"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"
Ultrabubble create things.
Last edited by SteveX on 09/15/07 10:46; edited 1 time in total
Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble
Posted: 09/10/07 11:52
ProJam
Code
<?php
/**********************************************************************
**
** Sefjam Sitemap config file.
**
** One license is required per Jamroom site
**
** Author: Steve Cole as SteveX, <stevex@sefjam.com>
**
***********************************************************************/
// This config file is set up for Cobalt3/Sage
// List the artist and member quota_ids you want to added to your sitemap here, separated by a comma
$quotas = "5,6,4,7,3,2,-2";
// If SefJam is installed set $sefjam = 1, if not set $sefjam = 0
$sefjam = 0;
// Add an array of urls with full arguments to the top of the sitemap
// To add another url with full options the date must be in the format Year-Month-day, if empty it defaults to today
// Default priority is 0.5 (use 0.1 to 1.0)
// Default change frequency is monthly (can be always, never, weekly or monthly)
$prioritypages = array(
array(loc=>$config['jamroom_url'].'/index.php',lastmod=>"",changefreq=>"always",priority=>"1.0"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=spotlight&row_template=artists_index.tpl',lastmod=>"",changefreq=>"always",priority=>"0.9"),
array(loc=>$config['jamroom_url'].'/index.php?t=members',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=gallery',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=blogs_index_newest',lastmod=>"",changefreq=>"always",priority=>"0.9"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=radio&order=5&pagebreak=10&header_template=podcast_header.tpl&row_template=podcast.tpl&footer_template=podcast_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=event&pagebreak=20&pagenum=1&header_template=event_header.tpl&row_template=event_row.tpl&footer_template=event_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=comment&type=artist&pagebreak=10&pagenum=1"a[]=1"a[]=2"a[]=3&header_template=reviews_artists_header.tpl&row_template=reviews_artists.tpl&footer_template=reviews_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.6"),
array(loc=>$config['jamroom_url'].'/chart.php?chart_days=31&pagebreak=20',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=vault&pagebreak=10&order=5&header_template=vault_header.tpl&row_template=vault.tpl&footer_template=vault_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=blogs_news',lastmod=>"",changefreq=>"always",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/forum.php?band_id=0',lastmod=>"",changefreq=>"always",priority=>"0.9")
);
// You can exclude individual links by entering the Link Title into the $exclude_dblink, separated by a comma.
// set $includedatabaselinks = 0 if you do not want your links included or have no links in the database
// You would want to exclude external links
$includedatabaselinks = 1;
$exclude_dblink = "";
/**********************************************************************
** ARTIST AND MEMBER DIRECTORIES
***********************************************************************/
// Enter files to be excluded from all artist and member directories here
// $exclude_start excludes all files starting with...
$exclude_start = "radio_popup_info_,lyrics_,info_,event_rating_,video_rating_,vault_file_,blog_rating_,photo_rating_,song_rating_";
// $exclude_end excludes all files ending with...
$exclude_end = "_example.php";
// $exclude_numeric_start excludes all files starting with a number followed by this...
$exclude_numeric_start = "_video.php";
// $exclude_numeric_end excludes all files starting with the given string followed a number followed by .php
$exclude_numeric_end = "radio_popup_";
// The following do not have switches, they should not be empty.
// $exclude_file excludes these specifically named files...
$exclude_file = "events.php,player.php,channel_player.php,user_info.php,user_favs.php,artist_rating.php,menu.php,member_rating.php,side.php,thank.php";
// Files in the members directory with these extensions will not appear in the sitemap
$ignore_ext = ".jpg,jpeg,.gif,.png,.htaccess,.txt,.xml,.css,.html";
// You can also exclude additional full filenames to be applied to individual quotas
// Add a new array for each quota you want to apply this to
$quota_exclude = array(
array(fromquota=>"-2",quota_exclude_files=>"music.php,video.php,store.php,event.php"),
// array(fromquota=>"1",quota_exclude_files=>"channel.php")
);
/**********************************************************************
** FINAL URLS
***********************************************************************/
// if $finalurls_switch is set to 1, $finalurls appear at the bottom of the sitemap.
// Write whole urls including http:// and separate them with a comma.
// Do not list external urls
$finalurls = "";
?>
_________________ Kulshi Mezian!
"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"
Ultrabubble create things.
Last edited by SteveX on 09/15/07 10:48; edited 1 time in total
Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble
Posted: 09/10/07 11:53
Flashback
Flahsback can use the same config file as Cobalt3 with the following files added to the $exclude_file values in the ARTIST AND MEMBER DIRECTORIES section in the Cobalt3 config file:
Code
song_player.php, advisory.php,
_________________ Kulshi Mezian!
"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"
Ultrabubble create things.
Last edited by SteveX on 09/28/07 18:49; edited 1 time in total
// Add an array of urls with full arguments to the top of the sitemap
// To add another url with full options the date must be in the format Year-Month-day, if empty it defaults to today
// Default priority is 0.5 (use 0.1 to 1.0)
// Default change frequency is monthly (can be always, never, weekly or monthly)
$prioritypages = array(
array(loc=>$config['jamroom_url'].'/index.php',lastmod=>"",changefreq=>"always",priority=>"1.0"),
array(loc=>$config['jamroom_url'].'/index.php?t=artists',lastmod=>"",changefreq=>"always",priority=>"0.9"),
array(loc=>$config['jamroom_url'].'/index.php?t=members',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=music',lastmod=>"",changefreq=>"always",priority=>"0.9"),
array(loc=>$config['jamroom_url'].'/chart.php?chart_days=30&pagebreak=20',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=video_spotlight&row_template=video.tpl',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=store&order=7&pagebreak=10&header_template=store.tpl&row_template=store_row.tpl&footer_template=store_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=vault&order=7&pagebreak=10&header_template=vault.tpl&row_template=vault_row.tpl&footer_template=vault_footer.tpl',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=blogs',lastmod=>"",changefreq=>"always",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=radio',lastmod=>"",changefreq=>"always",priority=>"0.4"),
array(loc=>$config['jamroom_url'].'/ranking.php?mode=channel&channel_id=1&row_template=channel_TV_player.tpl',lastmod=>"",changefreq=>"always",priority=>"0.9"),
array(loc=>$config['jamroom_url'].'/signup.php?mode=signup"a_id=-1',lastmod=>"",changefreq=>"monthly",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/signup.php?mode=signup"a_id=1',lastmod=>"",changefreq=>"monthly",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/index.php?t=blog_news',lastmod=>"",changefreq=>"weekly",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/index.php?t=blog_admin',lastmod=>"",changefreq=>"weekly",priority=>"0.8"),
array(loc=>$config['jamroom_url'].'/index.php?t=blog_about',lastmod=>"",changefreq=>"monthly",priority=>"0.6"),
array(loc=>$config['jamroom_url'].'/subscribe.php?mode=view&template=subs.tpl',lastmod=>"",changefreq=>"monthly",priority=>"0.7"),
array(loc=>$config['jamroom_url'].'/index.php?t=advertising',lastmod=>"",changefreq=>"monthly",priority=>"0.3"),
array(loc=>$config['jamroom_url'].'/index.php?t=privacy',lastmod=>"",changefreq=>"monthly",priority=>"0.3"),
array(loc=>$config['jamroom_url'].'/index.php?t=contact',lastmod=>"",changefreq=>"monthly",priority=>"0.3"),
array(loc=>$config['jamroom_url'].'/index.php?t=help',lastmod=>"",changefreq=>"monthly",priority=>"0.6")
);
// You can exclude individual links by entering the Link Title into the $exclude_dblink, separated by a comma.
// set $includedatabaselinks = 0 if you do not want your links included or have no links in the database
// You would want to exclude external links
$includedatabaselinks = 0;
$exclude_dblink = 1;
// If SefJam is enabled you can name the database link prefix word that you use in your urls here
$sefjamprefix = "music";
/**********************************************************************
** ARTIST AND MEMBER DIRECTORIES
***********************************************************************/
// Enter files to be excluded from all artist and member directories here
// $exclude_start excludes all files starting with...
$exclude_start = "lyrics_,radio_popup_,vault_file_,radio_popup_info_";
// $exclude_end excludes all files ending with...
$exclude_end = "_list.php";
// $exclude_numeric_start excludes all files starting with a number followed by this...
$exclude_numeric_start = "_video.php";
// $exclude_numeric_end excludes all files starting with the given string followed a number followed by .php
$exclude_numeric_end = "Channel_,";
// The following do not have switches, they should not be empty.
// $exclude_file excludes these specifically named files...
$exclude_file = "audio.php,stores.php,photos.php,channel_row.php,blogs.php,station.php,fans.php,index_album.php,player.php,events.php,albums.php,user_favs.php,videos.php,menu.php,user_info.php,vaults.php";
// Files in the members directory with these extensions will not appear in the sitemap
$ignore_ext = ".jpg,.gif,.png,.htaccess,.txt,.xml,.css,.html";
// You can also exclude additional full filenames to be applied to individual quotas
// Add a new array for each quota you want to apply this to
$quota_exclude = array(
array(fromquota=>"-1",quota_exclude_files=>"test.php"),
// array(fromquota=>"1",quota_exclude_files=>"channel.php")
);
/**********************************************************************
** FINAL URLS
***********************************************************************/
// if $finalurls_switch is set to 1, $finalurls appear at the bottom of the sitemap.
// Write whole urls including http:// and separate them with a comma.
// Do not list external urls
$finalurls = "";
_________________ Kulshi Mezian!
"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"