WordPress.org

Ready to get started?Download WordPress

Forums

"Pages" that display other websites. (54 posts)

  1. Mugsy
    Member
    Posted 1 year ago #

    It would be fantastic if the next update of WordPress allowed you to specify a link to another site as a "Page". This would open up a ton of possibilities.

    You could actually embed a new Blog home page inside your site. You could link to forums like this one, or one of your own using separate software. Personally, I would love to be able to embed my YouTube or Facebook pages inside my own site.

    And it seems like a fairly easy change that could really add a lot of new functionality to WP.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You could actually embed a new Blog home page inside your site.

    Gee - I'm sure the person who owns the other site will be really pleased about you stealing his/her bandwidth in this manner.

  3. Mugsy
    Member
    Posted 1 year ago #

    I'm not talking about embedding "someone ELSES site".

    I've been begging for YEARS the ability to include a second "homepage" inside my blog (one where you can have multiple posts with multiple comment fields). But every reply to my request has been some criticism of how difficult it would be to make that substantial of a change to WP.

    But I could create an entire second "hidden" WP blog (unpublished URL) and link to it as a new Page.

    The "fix" to prevent bandwidth theft is simple. Restrict Pages to the same root URL.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm not talking about embedding "someone ELSES site".

    Ah! That's how your initial suggestion read. So Where would this other Page come from? Another site on the same domain? If so, coding that could be pretty tricky given all of the possible server configurations and people pointing different domain names to sub-folders etc.

  5. Mugsy
    Member
    Posted 1 year ago #

    Really, all that's needed are just the necessary html/php/xml pages in a folder in your existing site.

    Plus, linking to sites like Facebook & YouTube, which encourage linking.

  6. jakesyl
    Member
    Posted 1 year ago #

    how would you

    You could actually embed a new Blog home page inside your site.
    because I would like too embed my facebook page in my site just as an experiment.

  7. Mugsy
    Member
    Posted 1 year ago #

    Jake,

    If an option was added to specify a URL as a new "Page", you could specify your Facebook page, personal YouTube video index, a custom HTML page of your own design, or even other apps like a fully functional Bulletin Board (like: phpBB) or an eStore (like "OSCommerce") inside your WP blog.

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    My point here is - what is there to stop me (for example) using this functionality to grab one of your site's pages? This is where it gets a little bit awkward, in my opinion.

  9. Mugsy
    Member
    Posted 1 year ago #

    Esmi,

    Under "General Settings", you already define your site's URL. When specifying the URL for your new Page, you can "hard code" the root URL of your link so it appears:

    Enter Link for your new Page: http://www.yourdomain.com/ (input box here)

    ...where you enter the name of your landing page.

    Also, add special cases for "Facebook" and "YouTube":

    http://facebook.com/ (username)
    or
    http://youtube.com/ (username)

    It's not complicated, and opens up an AMAZING number of possibilities.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    Under "General Settings", you already define your site's URL

    I've heard that this might be disappearing soon...

    add special cases for "Facebook" and "YouTube"

    But what is there to stop me entering your Facebook page? Or Joe Smith's YouTube channel. And how is this an increase in functionality compared to, say, using a standard <iframe>? I'm not trying to be awkward. Honest! I'm just struggling to see what the benefits are compared to the potential issues.

  11. Mugsy
    Member
    Posted 1 year ago #

    Esmi,

    What does it matter to Facebook or YouTube WHOSE page you display? They ENCOURAGE linking and embedding. Whether you embed your page or someone else's doesn't matter to them.

    The "<iframe>" option is a poor one because it produces an html window limited in size that scrolls when your content does not fit (and if your page includes frames of it's own, I'm not sure they would embed). It would also look very unprofessional for those of us that don't want our site to look like it was coded by a high school student.

  12. Mugsy
    Member
    Posted 1 year ago #

    Just tried the following. It doesn't work:

    <p>Iframe test:</p>
    <iframe src="http://www.facebook.com/" name="facebook" width="600" height="600" marginwidth="0" marginheight="0" align="right" scrolling="auto" frameborder="0"></iframe>
    End.

    Can only specify fixed width/height as well (no percentages).

  13. What does it matter to Facebook or YouTube WHOSE page you display? They ENCOURAGE linking and embedding. Whether you embed your page or someone else's doesn't matter to them.

    Yes, it does matter. Yes, they do care.

    You'll notice you can only embed certain things from certain services? There is a reason, and it's called bandwidth theft.

    You do it to one of my sites and I will be sending your web host a formal complaint and blocking your IP.

  14. bih
    Member
    Posted 1 year ago #

    did you try plugin called "Blog in a blog" http://wordpress.org/extend/plugins/blog-in-blog/ I had good fun with it long ago ;)

  15. Hubdubc
    Member
    Posted 1 year ago #

    You can attach documents from your hard drive to the bottom of the page, and you can let other site collaborators comment on your pages.

    [link moderated]

  16. Mugsy
    Member
    Posted 1 year ago #

    Mika, embedding bits & pieces, like graphics or video, is "bandwidth theft". Displaying an entire site is not. And unless you OWN Facebook or YouTube, I pretty much doubt anyone could embed your personal site via my proposal. Please re-read.

    Also, how is displaying a FULL Facebook page or YouTube video list any different than simply linking to the page and sending viewers there? Whether the page appears full screen or in a frame on your site makes no difference to them so long as their ads appear.

    "Bih", I haven't tried "Blog in a blog", but I'll check into it. I suspect it's not as clear a solution as I'm suggesting here.

    "Hubdubc", I'm not sure how your idea pertains to my desire to substitute a Page with a remote file/site?

  17. fonglh
    Member
    Posted 1 year ago #

    Really, all that's needed are just the necessary html/php/xml pages in a folder in your existing site.

    You can already do this. And you can create custom links in the menus, so I'm not sure what you're asking for here?

  18. Mugsy
    Member
    Posted 1 year ago #

    fonglh, agreed you don't understand what I'm asking for. You can't "already do" what I'm requesting.

    My primary desire is to have multiple "homepages" in my blog... Pages where you can post multiple threads, each with their own Comment field and story link, identical to the homepage. It's something I've been requesting for years but was told it would require too many changes to WP to work. But a "simple" solution would be to simply allow the Admin to define a remote file as a "Page". I could then define entire html or php files to load instead of a Page with only one topic & one Comment field.

    If you still can't picture what I'm talking about, imagine a Food Blog with separate Pages for "Main Courses", "Wines", "Desserts", etc. This would allow different writers to blog on different subjects simultaneously without needing multiple sites to do it.

    I tossed in the "Facebook" and "YouTube" possibilities because I thought they'd have wider appeal: Allowing people to include their personal Facebook page (or celebrity FB page) inside their site. I personally have a Page that is simply a link to "My YouTube videos", which is just one more unnecessary step when I could just display my YouTube homepage right there.

    Currently, you can not embed another site using an "<iframe>" (I tried). Even if you could, it must be a fixed size (creating issues for people with different sized screens), with the WP "Comments" box underneath, in a window that scrolls off the screen if you scroll down to it. Incredibly ugly and unprofessional.

    I've looked into it, and No, you can't "already do this".

  19. esmi
    Forum Moderator
    Posted 1 year ago #

    Pages where you can post multiple threads, each with their own Comment field and story link, identical to the homepage.

    That's do-able via a page of posts template. Or perhaps you need to look at using Multisite?

  20. fonglh
    Member
    Posted 1 year ago #

    I could then define entire html or php files to load instead of a Page

    It's this part. If you put a html or php file on your site and put the URL into the address bar, it'll be loaded. You don't need to define it as a 'Page'. The .htaccess file takes care of existing files and directories for you.

    If you want a link to that file, use a custom link in your menu.

    For the food blog, you might want to check out esmi's suggestion of using Multisite.

    Why don't you link directly to your youtube page from the menu? That would take out the unnecessary step.

  21. Mugsy
    Member
    Posted 1 year ago #

    Esmi. Not familiar with "Multisite", but a quick look at the description of the plugin seems like it was intended for something very different, and overkill for what I'm suggesting.

    The "Page-of-Posts" script is new, but that note in the description: "displays posts from two specific categories" has me questioning just how much it would actually meet my needs.

    fonglh, when you say "put the address in the URL bar", you're talking about the Browser, not the blog. Entering a URL by hand or a clicking a link that takes you to another site is not a "solution", it's a link. And whether you enter "into the URL bar" of your browser by hand or via a link makes no difference.

    As I JUST noted, I currently HAVE a Page that is simply a "link" to my YouTube page. But why have that extra step? Why not just have my YouTube page appear inside my site when users click the link from my Toolbar?

    If you can provide the PHP for the .htaccess file that would cause Page links to display a remote file/site inside my existing Blog, please provide it. Otherwise, you clearly have no idea what I'm talking about and should drop out of the conversation now.

  22. fonglh
    Member
    Posted 1 year ago #

    I know what you've just noted. I'm asking why you're doing that instead of just putting a direct link. The extra step you're complaining about can be removed just like that.

    We're telling you that your "solution" is probably unnecessary. What's wrong with a direct link?

    If you can provide the PHP for the .htaccess file that would cause Page links to display a remote file/site inside my existing Blog, please provide it.

    http://codex.wordpress.org/Pages#Page_Templates

  23. Mika, embedding bits & pieces, like graphics or video, is "bandwidth theft". Displaying an entire site is not. And unless you OWN Facebook or YouTube, I pretty much doubt anyone could embed your personal site via my proposal. Please re-read.

    Yes it is. You're embedding the whole site, which is pulling their traffic for your benefit, without fully sending people to that site. You're taking away from their UI and experience, and that's just not nice. It's like ... watching a movie on TV. Edited for time and foul language. Takes away from the intended experience.

    There's a reason we block it ;) ( http://www.hackalone.com/antiiframe )

    Also, how is displaying a FULL Facebook page or YouTube video list any different than simply linking to the page and sending viewers there?

    The interface, and the intention. I put it this way: If they want you to do it, they'll tell you how. A direct link is considered the best way, it's how the net works, it clearly shows that I (the end user) am now on a totally different site. Why else would FB have a warning 'Hey! You're headed off to some other (non FB!) site. You down with that?'

    As I JUST noted, I currently HAVE a Page that is simply a "link" to my YouTube page. But why have that extra step? Why not just have my YouTube page appear inside my site when users click the link from my Toolbar?

    You'll notice how on their YouTube on Your Site page they tell you how to embed videos and playlists, but not your whole page? They'd rather you don't :) They don't actually have the API structure yet, and they probably don't have all the images/css you'd be calling set up in a way to encourage that without causing slowdowns, or cross scripting issues if someone was, say, logged in to YouTube and went to your site.

    Oh yeah, that reminded me of cookies and log ins. Iiiick. Nefarious peoples could try and steal your login data via iframes like that. Bad.

  24. Mugsy
    Member
    Posted 1 year ago #

    fonglh, remote sites like "YouTube" or "Facebook" are the least of my concerns. I only mentioned it as another use for the change I'm asking for to give the idea wider appeal. The fact I can LINK to another URL... TAKING VISITORS AWAY FROM MY SITE... is not helpful.

    As stated, my primary desire is for a second "Posts" page INSIDE my site (preferably w/o having to create an entire second WP Blog).

    I'm reading the "Page Templates" page now (which Emsi just linked to), and so far am seeing no way to Call the new page from my site (short of a link pulling it up as a stand-alone page.)

    Please be clear on this, the primary objective is to display the page INSIDE my site, not a link to a remote URL sending visitors to an entirely new site or stand-alone page (you wouldn't link to "widgets.php" from your toolbar, would you?)

  25. fonglh
    Member
    Posted 1 year ago #

    widgets.php is irrelevant. But I would link to an entirely new site, for the reasons ipstenu has mentioned.

    If you want your visitors to see content on another site, send them there. Don't try to pull the site's content onto your own.

  26. Mugsy
    Member
    Posted 1 year ago #

    Mika, you're an idiot. You clearly have no clue what "bandwidth theft" is. If I inserted your graphics/video/etc into my site, loading them off YOUR server, THAT is "bandwidth theft". I've HAD people do that, placing graphics on their site that load directly off my server rather than just copy them and save them to their own server. Displaying an ENTIRE site framed by your own is not "bandwidth theft". Even if everyone in the world (for some strange reason) decided to access Facebook via a page in my blog, they would still be visiting Facebook, just in a smaller window. So in fact, you ARE "sending people to that site" (but as you already note, is easily thwarted with "anti-frame" scripts.)

    If a COMPLETE remote site appears in a Window, content, advertisers and all, how is that "bandwidth theft"? Like someone is going to see "Facebook" inside my site and think, "Gee! I didn't know this guy owns Facebook!" If someone clicks an advertisers link on the Facebook page, does Facebook not still make money? Do you actually believe people will visit my site just to access Facebook or YouTube?

    You said, "If they want you to do it, they'll tell you how". THEY DO. Facebook & YouTube LOVE embedding. Facebook has plugins for using their Commenting system and Albums. YouTube provides Embed Code for every video. That is closer to "bandwidth theft" than anything else. YouTube does not "provide code to embed an entire page" because all it takes is to display the URL in a window. There's no widespread need for users to do that.

    I could, in theory, embed every YouTube video in my collection on a single Page and "steal" a LOT more bandwidth. "They probably do not" have the API structure or the CSS to handle this? I severely doubt you have any inside info of what YouTube "rather you not" do. Do you REALLY think loading index pages eat up more bandwidth or would cause more of a "slowdown" than if I created a page with 100 embedded videos on it?

    And "nefarious peoples" can always find a way to do what they want anyway. They don't need WP to do that.

    But as I told "fonglh", "Facebook" and "Youtube" are the least of my concerns. I'm more interested in multiple Post pages.

  27. esmi
    Forum Moderator
    Posted 1 year ago #

    The "Page-of-Posts" script is new, but that note in the description: "displays posts from two specific categories" has me questioning just how much it would actually meet my needs.

    The "page of posts/custom query" approach can be amended to show whatever you want. See http://codex.wordpress.org/Function_Reference/WP_Query for examples of parameters.

    That said, any more name calling and this topic will be closed.

  28. Mugsy
    Member
    Posted 1 year ago #

    fonglh, I REALLY don't think you're paying attention. I'm not talking about wanting to display "someone elses" content. Yes, "widgets.php" is irrelevant. That's why I made it up (actually, coincidentally, it's a real file in WP, but I could have cited ANY file. "header.php" might make my point better.)

    I don't WANT to create AN ENTIRE SITE for every topic. In my "Food" example, I wouldn't want separate websites for every course. You wouldn't have separate websites for "Big Mac" and "Filet-O-Fish".

    On my blog, I would like to place completely different topics on completely different pages (ex: Imagine you had a "PC product Reviews" website. Maybe have "Computer Reviews" on one page, "CPU's" on another, "Video Cards", "Hard Drives", etc, on others. You don't want to create an ENTIRE separate site for every category.

    I hope you understand now.

  29. Mugsy
    Member
    Posted 1 year ago #

    Esmi,

    I'll review the link you provided. I have no doubt that through physically recoding WP, one can make it do almost anything, but my desire is for a "simple" solution easily accessible to everyone. Note my original request was for a way to do this through a simple link to a file other than the one that currently displays a "Page".

    Re: Mika, I apologize to you for my frustration with someone that clearly joined in... not to be helpful... but simply to accuse me of "bandwidth theft".

  30. esmi
    Forum Moderator
    Posted 1 year ago #

    You can do that via the Custom Url option in Appearance -> Menus but you're actually asking for a lot more than just a link to an external file. You want to "frame" the contents of that file in the current WP site - which is a whole different ballgame.

    If you recall, I was also initially concerned about bandwidth theft and still am. Mika was just adding her weight to that argument/concern and trying to clarify the potential issues. And, for the record, that's one very experienced pov from someone who does a great deal to help other WP users on a daily basis.

Topic Closed

This topic has been closed to new replies.

About this Topic