Advertisement
Guest User

BayW Plugin for SharpLeech 2.0.0 ALPHA

a guest
Mar 22nd, 2010
1,151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  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="Last Word">
  7. <Settings>
  8. <SiteName>BayW</SiteName>
  9. <BaseUrl>http://www.bayw.org</BaseUrl>
  10. <TopicsPerPage>50</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>phpBB 2.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="34" />
  26. <Section title="All In One AIO" id="23" />
  27. <Section title="Games" id="35" />
  28. <Section title="Console Games" id="22" />
  29. <Section title="Movies" id="3" />
  30. <Section title="TV Shows" id="20" />
  31. <Section title="Anime " id="37" />
  32. <Section title="Music" id="4" />
  33. <Section title="Music Videos" id="21" />
  34. <Section title="eBooks &amp; Tutorials" id="5" />
  35. <Section title="Web Developments" id="6" />
  36. <Section title="Non-Windows Warez" id="7" />
  37. <!-- If you have an account with VIP access you can un-comment this (:
  38. <Section title="VIPs &amp; Donators" id="35" />
  39. -->
  40. </Sections>
  41.  
  42. <!-- Edit this when the site requires custom parsing -->
  43. <Code>
  44. <![CDATA[
  45.  
  46. protected override void Init()
  47. {
  48. base.Init();
  49. }
  50.  
  51. public override void LoginUser(string username, string password)
  52. {
  53. base.LoginUser(username, password);
  54. }
  55.  
  56. public override void LogoutUser()
  57. {
  58. base.LogoutUser();
  59. }
  60.  
  61. public override string[] GetTopicUrls(string html)
  62. {
  63. return base.GetTopicUrls(html);
  64. }
  65.  
  66. public override SiteTopic GetTopic(string url)
  67. {
  68. return base.GetTopic(url);
  69. }
  70.  
  71. public override SiteTopic GetTopic(int topicId)
  72. {
  73. return base.GetTopic(topicId);
  74. }
  75.  
  76. public override HttpWebRequest GetPage(int sectionId, int page, int siteTopicsPerPage)
  77. {
  78. return base.GetPage(sectionId, page, siteTopicsPerPage);
  79. }
  80.  
  81. public override void MakeReady(int sectionId)
  82. {
  83. base.MakeReady(sectionId);
  84. }
  85.  
  86. ]]>
  87. </Code>
  88. </SiteReader>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement