TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,219
  • Total Topics: 21,352
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

embed a foreign website

Started by garywg, March 10, 2009, 01:26:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garywg

I have gone from not knowing a damn thing about websites to knowing very damn little in just two months. I do have a tpsmf forum up and running now that I am proud of. Is it possible to embed a different website into a tp block or article. It may be obvious to someone familiar with the terminology which I am still learning.
I did search on embedding and all I got was info on video and sound.
Thanks for any help.
:idiot2:
smf 1.1.8.
tp  0.983
smf gallery lite 2.0.5
watkinsfarm.info

ZarPrime

I'm sure there are other ways to do it, but I've done this with an iframe.  For instance, put this into a php article ...

echo '<iframe src="http://www.google.com/"
height="1000" width="100%" Scrolling="no"></iframe>';


Never tried it with a block, but no particular reason it wouldn't work.

ZarPrime

garywg

Thanks  ZarPrime!

I would have bet someone would solve my ignorance!! :uglystupid2:

I substituted the website I wanted and then change the scroll option to yes. It worked without a problem.

garywg

Zetan

Just a heads up, for those who use TP 1, there is now an "Import" type article.

Admin / TinyPortal > Menus Articles and Categories > Articles / Import

Paste in the URL in the text field. It works to some degree of success, some sites may block it. Some sites you may have to turn off the option: Others / Do not use SMF templates.

garywg

Are websites considered copyright material. Can a person cause himself trouble by embedding another website?

G6Cad

lets put it this way

If you create a site, put in so many hours you cant even count them to create what YOU like to see, have and show, and then place your copyright to the site, would you like some one else to import your entire work to their site then ?

Offcourse copyrights are placed on a site for a reason, "dont copy or use some one elses work for your own things with out permissions from the creator to do so"

JPDeni

Yes, websites are copyrighted material. At the very least, just to be friendly, it would be a good idea to ask permission before you take information from another person's website. If it's only a little bit and it's obviously information that should be shared, it's reasonable to copy the info and put it on your site, with a link to the original. If there's a significant amount of text from the other site, it's better just to put in a link and tell your members to check out the other place.

From what you wrote above, it appears that you want to import someone else's whole site into your own. IMNSHO, at the very least it would be extremely rude to do something like that, aside from being illegal.

Zetan

I think I may have worded part of my post wrong.. reading it through again.

If you were to use the option of "Import".. then the theme that is being used may cause a conflict of the site you are "importing". Articles have the visual option of using a plain theme, css free style. Pretty much a blank page other than the SMF/TP copyrights. : Others / Do not use SMF templates. << That is the option.


As for displaying another sites content, you are essentially using their bandwidth to display their content in your site. Unless you specifically ask, you may be in breach of their site policy, or that of their host. They may prefer you to be using RSS feeds where they are inviting people to use their content.

garywg

#8
I got the permission from the webmaster of the other site. Zarprimes code worked fine. I do see a little blurring in their site, but it still looks fine.
Thank You.

This website is proudly hosted on Crocweb Cloud Website Hosting.