How to embed an HTML code in composer ?
-
-
@meetdilip said:
@a_5mith said:
http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046
Something wrong
http://techiewiz.in/topic/70/lg-l-bello-android-smart-phone-price-in-india-rs-18-500/2
Your sites offline.
-
@a_5mith I'd propose
/<a href="(?:https?:\/\/)?(?:www\.)flipkart\.com\/affiliate\/displayWidget\?(?:[^"]*&)?affrid=([\w\-_]+).+<\/a>/ig
-
@meetdilip said:
@a_5mith said:
Your sites offline.
Try now please. New ACP is a buggy. It crashes NodeBB whenever I try restart. Have to start NodeBB again through terminal. Restart command never works.
The issue seems to be with the affiliate ID on the end of the URL caused by the flipkart affiliate plugin. The URL in the source has
&affid=ddealsing
on the end of it. Which my plugin isn't looking for.Looking into it.
-
@meetdilip said:
Disable Adblock plus
That did it, I'll look at the size issue now.
You can solve the width by adding
.flipkart { width:100%; } to your CSS, the height however may be slightly trickier. If anyone had any ideas for that, I'm all ears, CSS wouldn't work, as setting CSS to 600px would make the width ones 600px high too.
-
@a_5mith As of the author knows the height each frame should have (@meetdilip does he? does the affrIDs link to a static content?) I'd allow the author to set the height via hashtag of the link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046#90
/<a href="(?:https?:\/\/)?(?:www\.)flipkart\.com\/affiliate\/displayWidget\?(?:[^"]*&)?affrid=([\w\-_]+)(?:&[^"#]*)?(?:#(\d+))?.+<\/a>/ig
-
@frissdiegurke said:
(@meetdilip does he? does the affrIDs link to a static content?)
Not clear about this part Friss . Not sure what the question is. :sorry:
-
@meetdilip If you have a link like http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141229213124264046, does it always refer to the same image, or may it change without changing the link (maybe dayly, weekly,...)?