Enable a webpage from another website within one of my menu`s
-
I have been given permission to show live interactive calendar that updates itself periodically through the day. I want to place it in one of my menus titled Economic Calendar. I have created the menu. Is this doable?
ThanksThe blog I need help with is: (visible only to logged in users)
-
-
My mistake. When I say menu, I mean the page titled Economic Calendar on the main menu. I have been given the code to do this. I can post the code on here if you need to take a look.
On other similar sites, readers can click on the page titled Economic Calendar and the calendar appears. It is interactive and updates as and when new data comes through. If you go to http://www.forexlive.com and click on their Economic calendar page in the main menu, you will see exactly how the calendar appears. I`m guessing that the code given to me is a link and that maybe I need to go into CSS? It is supplied by Forex Street and is widely available to any website or blog that wishes to use it.
I really appreciate your help. Thanks. -
Thanks for the explanation.
The FFXStreet Economic Calendar code for adding the calendar to your website is in javascript. With few exceptions javascript isn’t allowed on WordPress.com sites. Regarding javascript, the Code support page says,Users are not allowed to post JavaScript on WordPress.com blogs. JavaScript can be used for malicious purposes. As an example, JavaScript has taken sites such as MySpace.com and LiveJournal offline in the past. The security of all WordPress.com blogs is a top priority for us, and until we can guarantee scripting languages will not be harmful, they will not be permitted.
JavaScript from trusted partners, such as YouTube and Google Video, is converted into a WordPress shortcode when a post is saved.
-
With few exceptions javascript isn’t allowed on WordPress.com sites.
That isn’t correct. What I meant is that there are a few cases (YouTube and Google video code, for example) where WordPress chooses to convert code originally in javascript to WordPress shortcode.
-
Thanks for the info and explanation. The old Forexlive site was with WordPress until 2014 when it changed management and launched a new website away from WordPress. Many readers complained at the time saying that the old site was far more straightforward. That said, the old site had the very same economic calendar. I assumed it would be possible for my new site. The new Forexlive has an economic calendar supplied by Investing.com which comes in the form of a widget. http://www.investing.com/webmaster-tools/economic-calendar
Would this be ok?
I really appreciate your help and advice. Thanks -
The new Forexlive has an economic calendar supplied by Investing.com which comes in the form of a widget. http://www.investing.com/webmaster-tools/economic-calendar
Would this be ok?I don’t think so. The HTML code generated on that page includes iframe code. The Code support page I cited previously says,
If you are familiar with HTML, you’ll notice that codes such as embed, frame, iframe, form, input, object, textarea and others are missing from the above list. Those codes are not allowed on WordPress.com for security reasons.
Iframe is among those listed as “not allowed.” Again YouTube embedded video code is evidently an exception, where the iframe code is converted into an acceptable shortcode by WordPress.
If you would like an explanation of the rules and exceptions regarding which types of code are allowed, you may add a “modlook” tag to the sidebar here to call for staff attention.
-
Thanks for the explanation. This calendar is critical to the site as are a few other items provided by Investing.com. I haven`t checked this out yet but the other items may be in the same or similar code. The entire site is compromised without the calendar etc.
Thanks for your help and I will add a modlook tag as you suggest, before I consider trying to migrate the site elsewhere. -
Hi @siheath55,
I’m afraid it will not be possible to embed that calendar on your site. As musicdoc1 mentioned, it uses an iframe tag to generate the embed. We block iframe tags at WordPress.com as explained here:
-
Hi and thanks for the replies.
I have spoken to Investing.com and their team have told me that it`s a surprise to them that HTML iFrame as the calendar is used by sites extensively by blogs and websites. Java, they say can be problematic. However, like me, they seem to respect your view.
Unfortunately, because this calendar and some iFrame based live charts are so critical to my site, I need to migrate the site to another mainstream hoster who can.
Therefore, could you please let me know how to get this done and once again thanks for all your help. -
Apologies. The first part of the post doesn`t make sense.
It`s a surprise to them that iFrame presents an issue. -
I need to migrate the site to another mainstream hoster who can.
Therefore, could you please let me know how to get this done and once again thanks for all your help.You can move to a self-hosted site following the steps here:
https://en.support.wordpress.com/moving-a-blog/#moving-to-wordpress-org
If you run into any trouble along the way, please let us know!
- The topic ‘Enable a webpage from another website within one of my menu`s’ is closed to new replies.