Creating a macro where you enter a node id as a parameter (media current picker) then the script should parse the content looking for <div class="sections"></div> and put those into individual content sliders (sort of slide show thing).
How can I get the x node id's content as html and then parse it? I will need the ability to search for a certain wrapper class which means inside here is 1 content slide of this slider. Manipulate it (simply have option to remove the containing image or not) then build this slider html.
Hope this makes sense, if not please just ask questions you might have...
How to get x nodes content as html then parse it?
Hey peeps,
Creating a macro where you enter a node id as a parameter (media current picker) then the script should parse the content looking for <div class="sections"></div> and put those into individual content sliders (sort of slide show thing).
How can I get the x node id's content as html and then parse it? I will need the ability to search for a certain wrapper class which means inside here is 1 content slide of this slider. Manipulate it (simply have option to remove the containing image or not) then build this slider html.
Hope this makes sense, if not please just ask questions you might have...
Thanks!
is working on a reply...