Using colons within the target of an...

User 2915245 Photo


Registered User
22 posts

Hello,

I'm running into an issue where the URL I need to target within an iframe has a colon as part of the URL.
Yes, that sounds funny when read aloud.

Anyways, it won't display.

Here is the page:
http://www.trmprecision.com/forums.html

Here is the target:
http://trmprecision.com/trmprecision/w/ … :WikiForum

Here is the iframe code inserted into RSD:
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>

<div class='embed-container'>
<iframe src="http://trmprecision.com/trmprecision/w/index.php/Special:WikiForum" width="600" height="450" frameborder="0" style="border:0"></iframe>
</div>

I'm using MediaWiki for a wiki as well as a forum. But MediaWiki uses 'special pages' which then contain a colon and a description page as the URL.

Any ideas?
User 187934 Photo


Senior Advisor
20,187 posts

Hi Christopher,
Try escaping the colon.
src="http://trmprecision.com/trmprecision/w/index.php/Special"/ : /"WikiForum"
I have a space on each side of the colon because the forum, wants to put an emoticon in it. Leave the spaces out in actual use.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2915245 Photo


Registered User
22 posts

Hello Eric,

That doesn't seem to work either. I've also tried escaping it with different methods as well. Tried messing with doing the quotes a few different ways as well.

What happens weird. It passes the escape characters to the wiki/forum code and tries to generate a 'special' page with those characters.

I could be doing something wrong, but nothing seems to be working.

Is there a way to wrap this URL code elsewhere, and then pass that info the iframe as src?
User 187934 Photo


Senior Advisor
20,187 posts

looks like you can't iframe the wiki. I think that's the same for other sites like google.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 379556 Photo


Registered User
1,535 posts

Just a thought, but not tested: could perhaps the url be converted using https://bitly.com/ ?

It is worth checking, however, whether such use of the Wikiforum site is permissible even if this method makes it technically possible.

Frank
User 2915245 Photo


Registered User
22 posts

Frank Cook wrote:
Just a thought, but not tested: could perhaps the url be converted using https://bitly.com/ ?

It is worth checking, however, whether such use of the Wikiforum site is permissible even if this method makes it technically possible.

Frank


This was a brilliant idea. Unfortunately, it didn't work. Same blank page.
Guess I'll just pop the user's out when it comes to the forum and wiki, or select a different forum and wiki... hmm.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.