Embedding content of web pages

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
pcp20us

Embedding content of web pages

Post by pcp20us »

Hi

I am using the emed url tage to emded another webpage.
Is there a way to emebed the content without the menu, footers etc, so it will display and fit into my webpage.

I have try to use anchors and have tried iframes to do this, but with no luck. I am not a programme, so go easy on the lingo.

Thanks

Pete
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Embedding content of web pages

Post by calguy1000 »

This question could also be asked as:
How can I scrape the content from some other website (maybe my own, probably not though)' and have it look like it came from my site?

Either way... it's not a question specific to, and applicable only to CMSMS.
Last edited by calguy1000 on Wed Mar 10, 2010 4:30 am, edited 1 time in total.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
pcp20us

Re: Embedding content of web pages

Post by pcp20us »

What r u on about. I ask a question, if you do not want to answer it then do not.

As i said i have had a go and need help. I just assume that you are not interested
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Embedding content of web pages

Post by Dr.CSS »

You can't, embedding is embedding, it takes the whole page of the site you embed...
pcp20us

Re: Embedding content of web pages

Post by pcp20us »

Ok, so if it is not embedding is it possible to use another command to do what i want?
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Embedding content of web pages

Post by Wishbone »

There isn't a command to "guess" what you want. How would any automated task know what is a menu or footer?
Last edited by Wishbone on Wed Mar 10, 2010 5:53 am, edited 1 time in total.
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Embedding content of web pages

Post by lollipop27 »

Hi there,

I guess I know, what you try to do. I had a similar problem once. But calguy100 is right. The problem doesn't lie at CMSMS but the other page. So you should first ask google and other forums. Besides that, this is probabely the most friendly forum, so please reply in a friendly way too.. :)

Do you have access to the aministration of other page?
Then you could create another page in that CMS whitout footer and header and prepare it so that you can embed it into your CMSMS site. But if you haven't, it's probabely not possible to cut of the parts you don't want to show.

Here is my example, perhaps you can learn something from it:
Here is the original page:

http://www.native-speakers.net/voices.html
a fabulous website to order voice files btw... :)

And here is the embed:
http://www.2m.com.au/voicesamples.php?a=3

Cheers.
pcp20us

Re: Embedding content of web pages

Post by pcp20us »

Hi Thanks for the info and the examples.

I simple asked a question, I never said it was an cmsms issue. I use cmsms as my website so ask the question here.

I  thought you could embed or import( or whatever the correct termpages) using anchors, maybe i wrong. I am no coder so i do not know.

I do not have admin to other pages. i am importing info from other sites that is updated regularly, so i thought it easier to embed than manually update. I assume this would be a standartd in the web world.

I have tried using iframes and others but had no luck.
User avatar
lollipop27
Forum Members
Forum Members
Posts: 237
Joined: Wed Sep 12, 2007 4:09 pm

Re: Embedding content of web pages

Post by lollipop27 »

Ok. One last idea, but I don't know if it works, you have to try:
Can you manipulate the content of the iframe via css?
Then you can choose the div's you want to hide via 'web developer toolbar' or 'firebug' and hide them with 'diaplay: none'.
uniqu3

Re: Embedding content of web pages

Post by uniqu3 »

If the other website has RSS you could try it with RSS2HTML module or similar.
pcp20us

Re: Embedding content of web pages

Post by pcp20us »

lollipop27 wrote: Ok. One last idea, but I don't know if it works, you have to try:
Can you manipulate the content of the iframe via css?
Then you can choose the div's you want to hide via 'web developer toolbar' or 'firebug' and hide them with 'diaplay: none'.
I am not good with this stuff, but i ll have a play and see what i get.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Embedding content of web pages

Post by Dr.CSS »

If you don't own the other site and it doesn't have RSS feed or you aren't doing it via RSS2HTML...

Then what you are doing is illegal...
Locked

Return to “Layout and Design (CSS & HTML)”