Guest User

Plugin for SharpLeech 2.0.0 ALPHA

a guest
Mar 28th, 2010
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 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>BWTorrents</SiteName>
  9. <BaseUrl>http://www.bwtorrents.com</BaseUrl>
  10. <TopicsPerPage>30</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="Gossip" id="15" />
  26. <Section title="Politics and Religion" id="130" />
  27. <Section title="Media Talk" id="16" />
  28. <Section title="Sport Talk" id="17" />
  29. <Section title="Techie Corner" id="18" />
  30. <Section title="Food For Thought" id="77" />
  31. <Section title="Image Gallery" id="111" />
  32. <Section title="Online Videos" id="185" />
  33.  
  34. </Sections>
  35.  
  36. <!-- Edit this when the site requires custom parsing -->
  37. <Code>
  38. <![CDATA[
  39.  
  40. protected override void Init()
  41. {
  42. base.Init();
  43. }
  44.  
  45. public override void LoginUser(string username, string password)
  46. {
  47. base.LoginUser(username, password);
  48. }
  49.  
  50. public override void LogoutUser()
  51. {
  52. base.LogoutUser();
  53. }
  54.  
  55. public override string[] GetTopicUrls(string html)
  56. {
  57. return base.GetTopicUrls(html);
  58. }
  59.  
  60. public override SiteTopic GetTopic(string url)
  61. {
  62. return base.GetTopic(url);
  63. }
  64.  
  65. public override SiteTopic GetTopic(int topicId)
  66. {
  67. return base.GetTopic(topicId);
  68. }
  69.  
  70. public override HttpWebRequest GetPage(int sectionId, int page, int siteTopicsPerPage)
  71. {
  72. return base.GetPage(sectionId, page, siteTopicsPerPage);
  73. }
  74.  
  75. public override void MakeReady(int sectionId)
  76. {
  77. base.MakeReady(sectionId);
  78. }
  79.  
  80. ]]>
  81. </Code>
  82. </SiteReader>
Advertisement
Add Comment
Please, Sign In to add comment