faster way to translate Html themes and Demos - html

I bought some Html Themes and I want to translate them. I need a fast and free way to translate themes.
I tried by Poedit but it can not open the Html file!
please introduce a way to Automatic translate Html file or a free application like Poedit

You can try using google translate. And you can do it in two ways:
Use their web app and upload your .html file, but first, you need to rename it to txt.
You can embed the Google Translate button on your web page. For more details check out w3schools

Related

HTML Editor from ASP.NET with file upload and insert

I have a website that is ASP.NET Webforms VB. I need to add to it a HTML text editor with file upload so images (for example) can be uploaded and inserted or selected from previously uploaded and inserted.
I have seen TinyMCE can do this but seemingly with me having to work on the Plugin.
Can anyone advise on something that can achieve the above but kind of working "out of the box"?
Free ideally but can look at commercial.
Again it is Webforms so not MVC or anyting like that.
HZ
The ajaxtool kit has two kinds of file uploaders, and also has a html editor, and the editor does have a up-load option that can be added as a custom button.
You can find the demos here, including the HTML editor:
http://www.ajaxcontroltoolkit.net/
You can install using nuget if you wish (the most easy).

Reuse html in different pages

This is my website, https://unrealcousinzzz.com/.
I made it in HTML, CSS, and JavaScript. I cannot use PHP or anything like that right now because I am hosting it in AWS S3, because lightsail is too expensive for me. On each page in my website, I use the same HTML code. For example, every page has code for my navbar, and code google AdSense.
If I want to change these, I would have to do it on every page right now. Is there a way to make a file that other HTML pages will read, and use that where it is placed in that page?
HTML itself doesn't have any sort of templating, but there are alternatives.
Use something on your dev machine to compile your HTML for you. I use a Node.js script and a JavaScript template engine for this. Basically, I write out my templates, run the script which generates the HTML, and then I upload it to the S3 bucket.
It doesn't have to be done with Node. You could use PHP with this same method. Or, a Bash script for that matter.
Ok, so for me google tag manager is good. I can add custom html, and it goes onto all of my pages.

How to Add Social Sharing Buttons on a static site?

I'm looking to Add social sharing buttons on a static which is having more than 500 Static Pages.
I can add manually but it's very tedious task so looking for an easy way to add.
Is there any Way to get the Permalinks of a Static Site Dynamically I'm thinking to pass it to the Sharing Code so that I can append the URL in the code if there is any way to add a piece of code automatically to all the pages it would be of great help.
Best Regards,
Arpit
You manually have created 500 pages or using php to generate dynamically?
If it is generated dynamically, you can easily add social share plugin to every page.
HTML code for social share by social9.com
https://www.social9.com/get-free-social-share/
...Select "code your own" from the list for HTML Code.
Yes, there is a way.
Use regular expressions in an IDE to find the right places and place the code in the replacing string.
If that's not enough powerful, then write a script, using e.g. Bash in Linux, or Groovy, or I would personally write a simple Java program leveraging the JSoup library.
Lastly, and I would recommend that most, give up maintaining the files manually, and switch to static site generating software, like JBake.
JBake can take your HTML pages and take their content as an input and re-generate the website through templates.

How can I upload / view HTML5 animations in confluence

Currently we are posting .swf animation (interactive) on our confluence. We just upload them as attachement to a pag and use {multimedia:name=animation.swf } to display them. But we want to make it usable for apple owners and are switching to making these interactive animations in HTML5 in stead of .swf.
But generating the same animation in HTML5 in stead of .swf gives use in stead of 1 swf file a couple of directories with css, javascript, images and html files.
How can I upload these to confluence and display the animation on a page in confluence?
It might matter which version of confluence you're working on.
To use the javascript and css you need, you can go to edit -> Administration -> Edit Layout and edit the space-wide css and js in the appropriate tabs.
As for html, you can use the {html} tags to include html code on your confluence pages like this:
{html}<p>Insert your html here</p>{html}
Do you know which version of confluence you have?
You might also want to look into the gliffy add-on for confluence. I believe it has the capability to accomplish what you want.
http://www.gliffy.com/products/confluence-plugin/

How do i allow the user to select more than one file for upload?

Gmail just released an update to their interface allowing the user to select more than one file for upload by using the CTRL-button. How do they do that? You can read about the new feature and see a screen shot here:
http://gmailblog.blogspot.com/2009/02/updates-to-attachments-multi-select-and.html
You will need to find flash-based sollution, like Google did with Gmail. You can try this jQuery plugin that offers exactly that: jQuery File Upload Plugin
Adobe Flash Player.
Here's a good library that I used: SWFUpload
Of course this is a JavaScript library, and not a jQuery plug-in, making it much more portable.
Take a look at RFC 1867 It defines how to upload files over HTTP using the multipart/mixed encoding. You can use the Apache Commons FileUpload library to do this in Java. I don't know how Google does it, but you can manage the multiple selects with JavaScript processing in your page.
Not the method Gmail uses, but the following link, combined with some jquery you can allow an unlimited number of files to be uploaded at the same time: Link
Google isn't using Flash, but actually some clever javascript (well, that IS what they're all about it seems :-) ). Using javascript and css, you can create a file chooser that lets the user select the file to upload. Then, you use a hidden iframe. The act of posting the form with your upload file targets the hidden iframe so that the result returned from the server on success goes into that hidden iframe. Using javascript, monitor the document body of that iframe to know when the file is uploaded.
This link appears to be a quick example of the basic concept: http://www.seemysites.net/projFolder/uploader/