I have this html code
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="utf-8" /> <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /> <title></title> <style> #map { width: 100%; height: 500px; } </style> </head> <body> <div id="map"></div> <script src="http://api-maps.yandex.ru/2.1.17/?lang=ru_RU" type="text/javascript"></script> <script type="text/javascript"> ymaps.ready(init); function init(){ var myMap; myMap = new ymaps.Map("map", { center: [55.7652, 128], zoom: 10, controls: [] }); myMap.behaviors.disable('scrollZoom'); myMap.controls.add("zoomControl", { position: {top: 15, left: 15} }); } </script> </body> </html> I receive the data that needs to be placed in the block
myMap = new ymaps.Map("map", { center: [55.7652, 128], zoom: 10, controls: [] }); This data is 55.7652, 128, 10. This is the Yandex map
I need to insert these numbers into the html file.
Now I just have a template file, the same as above, and I think it is possible to insert data using jsoup like that?