Share Pastebin
Guest
Public paste!

KatzForums Plugin

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 2.42 KB | Hits: 187 | Expires: Never
Copy text to clipboard
  1. <?xml version="1.0" encoding="utf-8" ?>
  2.  
  3. <!-- SharpLeech 2.x.x SiteReader Plugin -->
  4.  
  5. <!-- Version MUST be in x.x.x.x format! -->
  6. <SiteReader pluginVersion="2.0.0.0" pluginAuthor="Ar!yaN">
  7.     <Settings>
  8.         <SiteName>KatzForums</SiteName>
  9.         <BaseUrl>http://www.katzforums.com</BaseUrl>
  10.         <TopicsPerPage>20</TopicsPerPage>
  11.        
  12.         <!-- Supported type values are: IP.Board 3.x.x, IP.Board 2.x.x,
  13.              vBulletin 4.x.x, vBulletin 3.x.x, phpBB 3.x.x, phpBB 2.x.x -->
  14.         <Type>vBulletin 3.x.x</Type>
  15.        
  16.         <!-- If unsure choose ISO-8859-1. Except for phpBB 3 boards, they use UTF-8 by default. -->
  17.         <DefaultEncoding>ISO-8859-1</DefaultEncoding>
  18.        
  19.         <!-- Set to true if the site uses SEO urls, otherwise false. -->
  20.         <AllowRedirects>false</AllowRedirects>
  21.         <UseFriendlyLinks>false</UseFriendlyLinks>
  22.     </Settings>
  23.  
  24.     <Sections>
  25.         <Section title="Applications" id="23" />
  26.         <Section title="Games" id="22" />
  27.         <Section title="Movies" id="24" />
  28.         <Section title="TV Series" id="79" />
  29.         <Section title="Music" id="31" />
  30.         <Section title="eBooks" id="25" />
  31.         <Section title="Scripts, Templates, Wallpapers &amp; Fonts" id="27" />
  32.     </Sections>
  33.    
  34.     <!-- Edit this when the site requires custom parsing -->
  35.     <Code>
  36.         <![CDATA[
  37.        
  38.         protected override void Init()
  39.         {
  40.             base.Init();
  41.         }
  42.  
  43.         public override void LoginUser(string username, string password)
  44.         {
  45.             base.LoginUser(username, password);
  46.         }
  47.  
  48.         public override void LogoutUser()
  49.         {
  50.             base.LogoutUser();
  51.         }
  52.  
  53.         public override string[] GetTopicUrls(string html)
  54.         {
  55.             return base.GetTopicUrls(html);
  56.         }
  57.  
  58.         public override SiteTopic GetTopic(string url)
  59.         {
  60.             return base.GetTopic(url);
  61.         }
  62.  
  63.         public override SiteTopic GetTopic(int topicId)
  64.         {
  65.             return base.GetTopic(topicId);
  66.         }
  67.        
  68.         public override HttpWebRequest GetPage(int sectionId, int page, int siteTopicsPerPage)
  69.         {
  70.             return base.GetPage(sectionId, page, siteTopicsPerPage);
  71.         }
  72.  
  73.         public override void MakeReady(int sectionId)
  74.         {
  75.             base.MakeReady(sectionId);
  76.         }
  77.        
  78.         ]]>
  79.     </Code>
  80. </SiteReader>