How to Display Text from one webpage on Another?

Discussion in 'Programming' started by MindReality, Aug 19, 2013.

  1. #1
    How do you feed a snippet of text from one webpage to another? Sort or like the same way you do with an image?

    What I mean is, we can use an image from one webpage to display on another webpage. Is there a way I can do that with a block of text as well?

    The reason why I would like to find out how to do this is so that if I use the same particular paragraph of words on lets say 5 pages, I would only need to edit it on one page, and it will update on the other 4 pages.

    No I am not talking about CSS. I would like to use any block of text from any webpage to show up on another just like the way images do. I was wondering what way can I do this?
     
    MindReality, Aug 19, 2013 IP
  2. LankaPartnerHost

    LankaPartnerHost Member

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #2
    You can use Iframe
     
    LankaPartnerHost, Aug 20, 2013 IP
  3. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #3
    Depends what you mean by "any web page". If they all belong to you, and contain nothing but text then yes - very possible and easy. Iframe if you must, or else use a server side language to get the file contents.
    If you are trying to take particular snippets from any random page, then it becomes much harder as you must open and search each page to get the content.
     
    blueparukia, Aug 20, 2013 IP
  4. MindReality

    MindReality Well-Known Member

    Messages:
    202
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    105
    #4
    How do I use iFrame to get a particular block of text instead of the entire webpage?

    Is it possible to do something like that on WordPress? Say... have a paragraph from one post displayed on 5 other posts?
     
    MindReality, Aug 20, 2013 IP
  5. kutchbhi

    kutchbhi Active Member

    Messages:
    130
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    70
    #5
    I am no wordpress expert, but I think you can use shortcodes in wordpress.
     
    kutchbhi, Aug 20, 2013 IP
  6. Oranboard

    Oranboard Active Member

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    65
    #6
    Sorry i dont understand 100% your Question.

    You post on the first site somthing "paragraph" and the same should be shown on the other five pages if the first will been updated?
     
    Oranboard, Aug 20, 2013 IP
  7. MindReality

    MindReality Well-Known Member

    Messages:
    202
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    105
    #7
    Yes
     
    MindReality, Aug 20, 2013 IP
  8. Oranboard

    Oranboard Active Member

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    65
    #8
    Ok here quick instruction.

    1. You post the main article.
    2. Search on Google about an iframe Generator.
    3. You go to a iframe generator and type in there the URL from the Main Article. I think you need to aduste that with the generator that only your paragraph will displayed. But there are good instructions by the generators included.
    3. Then you paste the Code what the generator put out on the pages where you want it.

    Any Questions? Feel free to ask
     
    Oranboard, Aug 20, 2013 IP