Generating embed code for users to share
-
Hello folks.
Recently I was stuck by an idea to let users and other bloggers to embed the entire page on of my blog on to their blogs. The problem is i have to change the URL every time in code and the codes populate the result on my page itself.
Is there any way by which the script could automatically fetch the URL of the viewing page and update it codes for users without generating the content on my page. This is what i was trying.<object data=https://domain.tld/Requested_page width="100%" height="500"> <embed src=https://domain.tld/Requested_page width="100%" height="500"> </embed> Error: Embedded data could not be displayed. Visit <a title="Title of requested Page" href="https://domain.tld/Requested_page">Visit</a> </object>
- The topic ‘Generating embed code for users to share’ is closed to new replies.