I want to create a plugin called HtmlSlimmer which allows you to specify various HTML tags such as JavaScript, HTML comments, CSS styles, etc to have stripped out of a page's HTML before it's saved to the database/file system to save on disk space.
I've gone through the plugin tutorial but all the HTML properties of the CrawlRequest are read only unless I keep my class inside the Plugins or Crawler apps. I would like to keep this class in my own project in which I've pulled in the AN crawler so I can customize various aspects of work flow and UI.
Is it possible to have a class that is derived from ACralwAction in a different project and still have the ability to set those otherwise read only roperties such as Html?
Yes. It's OK to set the property setters to 'public' for the properties you wish to access.
I set the appropriate properties to 'public' so that my next checkin will merge with your next 'get latest'.
Thanks,Mike
For best service when you require assistance:
Skype: arachnodedotnet
Thanks for the quick reply and making the properties public!