Embedding web pages in Drupal using iframe

4 respostas [Última entrada]
mYself
Desconectado
Joined: 01/18/2012

Since I'm completely new to Drupal, I would like to know how can I embed a classic HTML encoded page onto my (Trisquel) profile page. I want to do this since the site does not allow me to use the full potential of the HTML language when I go the usual way. For ex. I cannot embed audio, style sheets, or include some characters (like colons or new lines) when using the title function on a text/image. I tried many potential solutions I came across on many different forum topics, but sadly, none of them worked for me. Is there some/any way I can manage to do this?

Any help will be appreciated!

Mampir
Desconectado
Joined: 12/16/2009

In such systems it's common to allow users to use only a subset of HTML. In the wiki it says the allowed HTML tags are:

  • <img>
  • <video>
  • <a>
  • <em>
  • <strong>
  • <cite>
  • <code>
  • <ul>
  • <ol>
  • <li>
  • <dl>
  • <dt>
  • <dd>
  • <h2>
  • <h3>
  • <h4>
  • <h5>
  • <pre>
  • <strike>

"Lines and paragraphs break automatically."

mYself
Desconectado
Joined: 01/18/2012

So that means I'm practically out-of-luck, since that list does not contain functions, I'd like to use. I thought that maybe I can circumvent this issue by moving all the code to an external HTML file, and then embedding it back to the page. This way, I could incorporate all the features I wanted, while I would not be forced to log in everytime I want to change something.

I have one more question:

When I'm using the <a title="description">text</a> function, is there a way how can I add colons and new lines to the text? When I try to include a colon, only the text after the last colon is shown, while if I separate the text by a new line, a extra <br /> is shown at the end of each line.

Mampir
Desconectado
Joined: 12/16/2009

It looks like you can't properly use colons or new lines in a title attribute. This seems like a bug in Drupal.

mYself
Desconectado
Joined: 01/18/2012

Ok then, it looks that I'm forced to accept this. Thank you for your time and effort to help me.