Questions tagged [html]

Questions related to the use of Mathematica for creating or manipulating HTML documents.

Filter by
Sorted by
Tagged with
5 votes
1 answer
139 views

Tooltip in a GeoGraphics isn't working when exported as an html file.... it worked some years ago. What gives?

A few years ago, in an earlier version of Mathematica™, I had lovely results in exporting to HTML, a map made with GeoGraphics with Tooltips for counties. I've just tried doing something similar and ...
user avatar
4 votes
1 answer
66 views

How to work around HTML not importing full HTML as XMLObject

I'm trying to parse some data out of the HTML for a form. Here's a simple one ...
user avatar
  • 45.5k
5 votes
1 answer
164 views

How to deploy a simple contact form with WebItems?

I'd like to make a contact form exactly like this page: Of course changing the icon and where it gets sent to, but otherwise exactly the same look. Key features: Submit sends an email Field are ...
user avatar
  • 30.4k
2 votes
0 answers
125 views

Find the best place to overlay text on an image?

I need to put text over a background image to make a nice looking banner. In order to find the best place to put it, I'd like to know the "focus points" of the image (basically the centers ...
user avatar
  • 3,679
1 vote
2 answers
74 views

Converting HTML Tables derived from URL's on the Web to Datasets 211112 Revisited

In a previous question [211112] that deals with importing data from a Wikipedia table directly into a Dataset. For the following data: ...
user avatar
  • 1,496
0 votes
0 answers
59 views

Embedding a CDF on Web page

I'm using Mathematica 12.x, and I have created a CDF, which I tested using Wolfram Player. I'm trying to make it so that I can have the CDF to be used on a web page. I purchased a non-basic Wolfram ...
user avatar
4 votes
1 answer
83 views

XML, select several values

I import a XML file, using: xmldatatest = Import["C:\\...\\...\\name.xml", {"XML", "XMLObject"}, "ReadDTD" -> False] ...
user avatar
1 vote
0 answers
49 views

Importing a local html file fails

Anyone have any idea why this is failing? The file is there. A file in the same (Windows 10) dir called "test.txt" imports exactly as expected. But .HTML files fail without a useful error ...
user avatar
2 votes
1 answer
163 views

Using java-script code in Mathematica

I have the following HTML file stored on "C:\local.html": ...
user avatar
  • 2,615
2 votes
0 answers
63 views

What is the best way to produce 3d images of tangles and show them on the web so that they can be rotated by the viewer?

On my html5 website on physics, I would like to add computer graphics of tangles, similar to the following photo, and I would like to allow users to rotate the image of a tangle and thus allow viewing ...
user avatar
4 votes
0 answers
59 views

Problem with links when using Workbench (Eclipse version) HTML Documentation Build

I am building a package documentation with eclipse workbench. I have used the Mathematica code in the following link Workbench (Eclipse version) HTML Documentation Build HTML issues to fix some ...
user avatar
  • 111
7 votes
1 answer
856 views

web scraping images

I am trying to load player profile pictures from the following page: https://www.transfermarkt.com/manchester-united/startseite/verein/985/saison_id/2006# I use the following code: ...
user avatar
3 votes
1 answer
51 views

Do not skip empty table entries while importing data from HTML string?

Consider importing the following table from an HTML string: ...
user avatar
  • 11.5k
4 votes
1 answer
166 views

How to run a wolfram-server safely on a VPS as a backend of a webpage?

If one runs SocketListen on a Virtual Private Server (VPS), in principle one can set up a webpage with the Wolfram Language as a back-end. For instance, with ...
user avatar
  • 1,970
4 votes
0 answers
191 views

Does Mathematica's front-end notebook provide a way to render html inside it

Jupyter notebook provide a way to render html in its markdown language cells. I know Jupyter is browser based so clearly could be just using the browser's html renderer. But does Mathematica's ...
user avatar
  • 8,217
2 votes
0 answers
112 views

How to use EmbedCode with CloudDeploy correctly?

I ran EmbedCode[CloudDeploy[Manipulate[Plot[Sin[x + c], {x, -6, 6}], {c, -1, 1}]]] based on this instruction and obtained the html code for embedding as below:- <...
user avatar
  • 3,389
3 votes
1 answer
273 views

Import all data from a HTML table, including empty cells

I wanted to create a dataset of all UFO sightings in April of 2018. The AssociationThread doesn't want to work, because some of the entries are missing value, what ...
user avatar
4 votes
1 answer
78 views

Importing the text from paragraph elements within a specified division

I'd like to import plaintext found within paragraph blocks nested anywhere inside certain div's. Here's a page to try it on: ...
user avatar
  • 3,679
5 votes
0 answers
50 views

HTML export: Customize footer

If I export a notebook to HTML, this is inserted at the end of every page: ...
user avatar
  • 225k
2 votes
0 answers
92 views

HTML export: How to link back to main page from subpages?

When exporting to HTML, there is an option to create separate pages for closed cell groups. This is done with the "ConvertClosed" -> "LinkedPage" option, or with ...
user avatar
  • 225k
4 votes
0 answers
32 views

DirectedEdge character doesn't appear when Save As HTML

The \[DirectedEdge] character doesn't appear when I save a notebook as HTML. Here's the notebook, which saves itself to HTML: Here's the HTML: In the HTML, the <...
user avatar
3 votes
1 answer
107 views

Add Mathematica to MathJax MathML Right Click Annotation Menu

I have started putting Mathematica code in the annotations portion of on my website, but right now I am editing the code manually. Is there an more robust automated way to do this? Example HTML page ...
user avatar
  • 7,419
3 votes
1 answer
852 views

Getting data using webscraping (Obtaining links from search engine with redirect)

In the past I have used the function Import in relation with "Hyperlink" to collect hyperlinks and data from the internet. For ...
user avatar
5 votes
0 answers
62 views

How to deploy a simple game as an html page

I have taken the following code from the mister Wizard answer to my old question Programming the fiver game ...
user avatar
6 votes
2 answers
266 views

Export Table with URL as HTML?

This is expression: ...
user avatar
  • 6,666
4 votes
1 answer
138 views

Import from url question -- "Cannot import data as Graph6 format"

When I import url, there will show the folling message: "Cannot import data as Graph6 format" The codes as following: ...
user avatar
  • 851
3 votes
1 answer
147 views

How do I export a hyperlink?

Bug is present in version 11.2.0 This fragment used to generate a HTML code for a webpage in which the Hyperlink showed up as an active link when viewed in a web ...
user avatar
  • 1,196
0 votes
0 answers
30 views

How to avoid a textfile getting changed when exported as HTML?

How can I export whatever I like to an HTML file, without Mathematica ensuring that it conforms to any standard? In other words, how can I get Mathematica simply to assign an .html suffix to a string ...
user avatar
2 votes
1 answer
135 views

Building template object routines

I'm interested in building a website theme with Mathematica's XMLTemplate as proposed by C. E. here. The problem is, Mathematica's template syntax is verbose and a ...
user avatar
  • 45.5k
0 votes
1 answer
79 views

How can I input this simple text file, process it, and export to another text file?

I will try to keep this example very specific and simple. Let us say I have a text file called file.txt, with path ...
user avatar
0 votes
0 answers
176 views

How can I convert urls to an IE bookmark

I've wrote a program notebook to convert chrome bookmark html to new chrome bookmark html, and it can also be imported into IE favorites. One can test it in your own chrome bookmark html[need do ...
user avatar
  • 8,095
0 votes
0 answers
408 views

HTTP Status Code 403

I'm working with some scraping and have run into a bit of a problem. The website I am scraping is this: https://seekingalpha.com/symbol/CRM/stocktalks I am essentially trying to scrape the "stock ...
user avatar
1 vote
1 answer
80 views

Extracting Certain Areas of JSON

I've been working with some web scraping and have run into a wall. The website I'm working with is this: https://seekingalpha.com/symbol/TWLO/stocktalks I am trying to scrape all of the "stock talks" ...
user avatar
3 votes
1 answer
157 views

Export as HTML: Image of text is squished

When exporting a notebook to HTML, the notebook's cells render as images, but the text is often squished. For example, this notebook: ... renders as If I manually line-break the code, the picture ...
user avatar
2 votes
1 answer
274 views

Export as HTML: Render Manipulate as an image, not a CDF

When I Export a notebook to HTML, Mathematica renders each Manipulate GUI as an object that requires the CDF browser plugin. For example, this notebook: ... renders to this webpage: How can I tell ...
user avatar
4 votes
0 answers
64 views

Convert Doc Notebook to HTML

Is there any built-in utility to convert a documentation notebook to the type of page that's on the Wolfram website, e.g. the web version of FormFunction from the ...
user avatar
  • 45.5k
9 votes
1 answer
175 views

How to store data in a Mma SE question using hidden html-like markup?

Mathematica Stack Exchange accepts HTML in the questions, and therefore text such as <undefined rubbish> should be ignored when formatting the question for ...
user avatar
  • 29.3k
1 vote
1 answer
176 views

Encode accents for html

I'd like to create an HTML file from a String, such as "abcdéèçàdefghijk". I tried different methods with no success. For ...
user avatar
  • 13.8k
4 votes
1 answer
290 views

How to put my Matematica manipulation into html code?

I have a rather simple question to which I can't find answer on web : suppose I have written a Manipulation in Mathematica, a beautiful .nb file that generates some presentation. Let us say, I draw an ...
user avatar
  • 203
14 votes
1 answer
461 views

Workbench (Eclipse version) HTML Documentation Build HTML issues

Description The HTML generated for local viewing by Workbench (Eclipse plugin version 10.1.757) has some issues before they can be published. This post is in continuation of the original question ...
user avatar
  • 1,125
6 votes
1 answer
94 views

How to convert documentation into web-site like Wolfram's Documentation?

I can build documentation notebooks but I'd like them to be deployed just like Mathematica's internal notebooks are on http://reference.wolfram.com/language/. Crucially, I would like the open/close ...
user avatar
  • 30.4k
11 votes
2 answers
423 views

Workbench 2 and 3 Documentation HTML Build Fails (Output file test failed)

In Wolfram Workbench it used to be possible to generate HTML Documentation pages. Now when I build, using Mathematica 10.4+ and Workbench 2 or 3 on Windows 8.1, the HTML build fails (the notebook ...
user avatar
  • 1,125
-5 votes
1 answer
56 views

Passing the name of an url to ma [closed]

I have the following command How to circonvent this weird comportment. Perhaps, it is not possible to open a pdf file from mathematica. But this is not the full problem.
user avatar
1 vote
0 answers
72 views

Mathematica 11 ignores AllowScriptLevelChange when exporting to HTML

It seems that the front end of the version 11 does not respect the AllowScriptLevelChange option when doing HTML export. Consider the following code (call it ...
user avatar
  • 3,312
10 votes
2 answers
2k views

How do I translate a list of English words into another language using an online translation service with Mathematica?

As far as I know, there are two posts on this topic: Can I use Mathematica to translate a English word to a Chinese characters? and *How can I use Mathematica to get the translated result from the ...
user avatar
  • 15.6k
5 votes
0 answers
74 views

Is there a way to use iframes in a notebook?

For me, mathematica online is totally unusable, but the EmbeddedServices would be great to use. I wish that these functions worked in Mathematica, is there any hack anyone can think of to get these ...
user avatar
  • 3,679
3 votes
3 answers
205 views

Generate an html fragment hyperlink which opens a new tab

Generating a hyperlink (for later use with a cloud deployment) yields, ...
user avatar
1 vote
2 answers
160 views

Void elements / self closing tags export to HTML

There are some built in rules in exporting that automatically create Void elements / self closing tags for some tags: ...
user avatar
  • 132k
5 votes
1 answer
163 views

Custom rules for expressions in export to HTML(Fragment)

ExportString[Grid[{{a, b}}], "HTMLFragment"] ...
user avatar
  • 132k
1 vote
0 answers
100 views

Two-step web data submission

I am trying to automate the process of downloading data from my univ. webpage. I need to submit the form in the URL below. http://202.88.252.21/CuPbhavan/res_newregentry.php?id=4789 An inspection ...
user avatar