Why is Eclipse (Kepler) struggling with HTML5? - eclipse

I just started using Eclipse for work and for whatever reason, it's really wigging out with the HTML I'm writing.
I have WPT installed, and I'm using <!DOCTYPE html>. The file type is html.
Notice how it's throwing errors at my HTML5 tags
![enter image description here][1]
Any ideas on what might be happening? Or on how I might dig a little deeper into the issue?

I was able to find everything I needed here:
http://blog.webagesolutions.com/archives/419
Thanks, all.

Related

Styling Help Framework

I've read the documentation and I can't figure out how to override the help system framework that eclipse generates (eg. Search Scope All Topics etc). It shows as a grey boring style, and the plugins seem to build it automatically. I can add css to the toc.xml which affects my pages, but not the frame that goes around it. Is there a guide for this?
The modernization of the help system which is still based on HTML frames and which is not responsive has not yet been implemented (see Eclipse bug 501718). Eclipse is open source and help is welcome. ;-)
However, it is possible to create your own responsive HTML 5 page with an iFrame for the content and which loads TOC elements, search results, etc. via JavaScript from the Eclipse help system as it is. In this way, I realized a search field with search suggestions and a preview (see my blog post: Like to pimp your help, eh?).

iOS - Is there a good way to clean up HTML code?

In my app I am pulling in some HTML content from the web. Sometimes that markup isn't the most valid looking code and I would like to clean it up (fixing markup errors, etc.), similar to how HTMLTidy works.
Someone mentioned libTidy, but I find nothing about how to use it, so let me ask, what is the best way to clean up HTML to be more valid in iOS?
Take a look at https://stackoverflow.com/a/24794675. It describes how to create a modulemap file so you can include libTidy.
br
denis

how to get image-reflection in joomla?

i found one plugin, i installed in my joomla site. but can't get reflection eventhough i put the relative path in between tags. please give appropriate solution and be greatfull by giving an answer!! thanx in advance!!
in html5 there is already define tags for shadow of image..but html5 is not supported by all browsers.. you have to wait till all browser support html5..
you need to change to type of the image from gif to png.

joomla tinymce editor problem

hi i am using joomla 1.5 for my site.
in this i fetched the problem of tinymce editor when i clicked on any article the image button are not shown. when i clicked on edit html source button It showing only “{$lang_theme_code_title}” on the Title bar and all body is blank.
so plz help me to resolved out from this problem.
thanks in advance
You should consider trying the JCE editor instead of trying to debug Tinymce. I'm running JCE error free on over 40 sites. It has a superior image manager, link manager, and code view. It installs easily and is highly configurable. The only caveat is that you should disable the Joomla insert image, page break, and read more buttons as JCE has those built in.
http://extensions.joomla.org/extensions/edition/editors/88
See this thread:
http://forum.joomla.org/viewtopic.php?t=62545
Try adding www. to your domain. Most often this is the problem.
I searched joomla project for vars $lang_theme_code_title... and related... There are not. Looked at Tinymce editor, it has javascript driven language file...
Most likely problem is cause by JavaScript. Try using different browser (firefox or chrome).
I read info on some other forums, some claim that temporarily disabling the antivirus solved the problem. I don't think that this will work, but you can try.
If none of this helps, you will need to give more information. Load firefox with firebug and see the NET tab for JavaScript files and Ajax Requests, most likely you'll find something interesting there (i think 500 Error)

How to integrate TinyMce with Zend Framework with Gzipping and Image managers?

I have done some research on this subject, and found out, that Gzipping and adding a new image manager through a plugin would not be as difficult. The only question is the Image manager.
I have seen some quite good ones, like the Image Manager for JCE, which is a Joomla wysiwyg editor, but none for TinyMce for itself.
Could someone show me a good image plugin?
P.S. SwampyFoot is out of question, as it's download links are broken, and PhP Letters Ajax image manager is quite hard to install.
Thanks!
EDIT: I just found Mad File Manager, which seems to work excelently except for a little glitch: An image can be uploaded, but cant be selected... Thats sad...
EDIT2: I've found KCFinder, which seems to be very promising, but I just can't get it to work properly. Somehow, the configuration is quite difficult.
Ok, So I have been able to answer my question myself. So here it goes:
Set up TinyMce with Sozfo solution. The important ting to remember here is, instead of extending your Forms from Zend_Form, you have to extend them from Sozfo_Form. As to the defining your own extendable controller, it didnt work for me, So I put the path defining helpers in my Bootstrap. And if the whole ordeal works, there is a textarea that should have TinyMCE controls, but there aren't any, try checking the comments at Sozfo, or checking if the page is cached or not. It took me a good hour, to find out, that the only reason why no JavaScript was pushed to the header was because of a very persistent cache.
Set up KCFinder. The main problems I faced here were due to wrong paths to corresponding files. When the paths were correct, the only thing to remember is to enable it. There is a boolean to change in configuration file.
The last issue was adding the KCFinder to my Tinymce, and what I ended up doing was, I added the function needed to call KCFinder in TinyMCE.php View helper. ( Due to some glitch I seem to be unable to post the code here). Once you have set up your paths correctly, everything should work splendidly.
All in all, it took me about 3 days to figure this whole thing out. Talk about steep learning curve...
Have you looked at MCImageManager - its not free but its an option if you're happy to pay for it
Not really a suggest as you've got it but swampy foot download does work
As you're already using zend framework, why not use dojo, set up the dojo form and call the editor element and integrate this http://docs.dojocampus.org/dijit/_editor/plugins/LinkDialog into it?