trying add tracking script site client, i've done others in past. logged wordpress page , there no appearance button. has heard of before? know of way php files typically there? appreciated.
here trying do: trying solve issue has wrapping in text file. i want open txt file, read line , if line contains want contain, check next line see if not contain in first line. if not, add line first line. import re stuff = open("my file") line in stuff: if re.search("from ", line): first = line print first if re.search('from ', handle.next()): continue else: first = first + handle.next() else: continue i have looked quite few things , cannot seem find answer. please help! i try this, invalid triples of "from " , not elegant @ all. lines = open("file", 'r').readlines() lines2 = open("file2", 'w') counter_list=[] last_from = 0 counter, line in enumerate(lines): if "from " in line , counter != last_from +1: last_from = counter current_count = counter if current_coun...
i have added code in head part <meta property="og:image" content="your_image_here" /> case 1: when click share link. below url working properly. example: www.exampledomainname.com/test fetching image in second case adding parameter url example: www.exampledomainname.com/test?username="aaa"; because every time username change. <a href="http://www.facebook.com/share.php?u=www.exampledomainname.com/test?username=aaa" target="_blank"><button class="btn btn-social btn-facebook"><span class="icon icon-facebook"></span> share on facebook</button></a $input = "www.exampledomainname.com/test?username=aaa"; $encoded = urlencode($input) <a href="http://www.facebook.com/share.php?u='.$encoded.'" target="_blank"><button class="btn btn-social btn-facebook"><span class="icon icon-facebook"></...
Comments
Post a Comment