Return to Snippet

Revision: 62167
at February 6, 2013 07:10 by lmontealegre


Initial Code
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.}

Initial URL

                                

Initial Description
content transformation script to set the content element equal to the value of an input parameter

Initial Title
Setting FixedValue Content Equal to the Value of an Input Parameter

Initial Tags

                                

Initial Language
C#