/ Published in: C#

content transformation script to set the content element equal to the value of an input parameter
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System; 03.using VisualWebRipper.Internal.SimpleHtmlParser; 04.using VisualWebRipper; 05.public class Script 06.{ 07. public static string TransformContent(WrContentTransformationArguments args) 08. { 09. try 10. { 11. return args.InputParameters["par1"]; 12. } 13. catch(Exception exp) 14. { 15. args.WriteDebug(exp.Message); 16. return "Custom script error"; 17. } 18. } 19.}
Comments
