Advertisement
Guest User

FreshWap Plugin

a guest
Mar 17th, 2010
926
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 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="1.0.0.0" pluginAuthor="Last Word">
  7. <Settings>
  8. <SiteName>FreshWap</SiteName>
  9. <BaseUrl>http://www.freshwap.net/forums</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>vBulletin 4.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>true</AllowRedirects>
  21. <UseFriendlyLinks>true</UseFriendlyLinks>
  22. </Settings>
  23.  
  24. <Sections>
  25. <Section title="Applications" id="6" />
  26. <Section title="All-In-One Applications" id="48" />
  27. <Section title="Portable Applications" id="54" />
  28. <Section title="Games" id="7" />
  29. <Section title="Console Games" id="15" />
  30. <Section title="PSP Games" id="52" />
  31. <Section title="Movies" id="8" />
  32. <Section title="HDDVD/BluRay Movies" id="21" />
  33. <Section title="Anime Movies" id="10" />
  34. <Section title="TV Shows " id="9" />
  35. <Section title="Music" id="11" />
  36. <Section title="Music Videos" id="16" />
  37. <Section title="E-Books &amp; Tutorials" id="12" />
  38. <Section title="Magazines" id="50" />
  39. <Section title="Web Developments" id="13" />
  40. <Section title="Non-Windows Stuff " id="14" />
  41. <Section title="Mobile Stuff" id="18" />
  42. </Sections>
  43.  
  44. <!-- Edit this when the site requires custom parsing -->
  45. <Code>
  46. <![CDATA[
  47.  
  48. protected override void Init()
  49. {
  50. base.Init();
  51. }
  52.  
  53. public override void LoginUser(string username, string password)
  54. {
  55. base.LoginUser(username, password);
  56. }
  57.  
  58. public override void LogoutUser()
  59. {
  60. base.LogoutUser();
  61. }
  62.  
  63. public override string[] GetTopicUrls(string html)
  64. {
  65. return base.GetTopicUrls(html);
  66. }
  67.  
  68. public override SiteTopic GetTopic(string url)
  69. {
  70. return base.GetTopic(url);
  71. }
  72.  
  73. public override SiteTopic GetTopic(int topicId)
  74. {
  75. return base.GetTopic(topicId);
  76. }
  77.  
  78. public override HttpWebRequest GetPage(int sectionId, int page, int siteTopicsPerPage)
  79. {
  80. return base.GetPage(sectionId, page, siteTopicsPerPage);
  81. }
  82.  
  83. public override void MakeReady(int sectionId)
  84. {
  85. base.MakeReady(sectionId);
  86. }
  87.  
  88. ]]>
  89. </Code>
  90. </SiteReader>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement