Hot answers tagged

13 votes
Accepted

Workbench (Eclipse version) HTML Documentation Build HTML issues

Update 10-2017: I noticed that they released an update of these tools, so some of these steps are outdated. I adjusted this answer to the newest release of Workbench 10.1.822. It has become somewhat ...
Frank Martin's user avatar
  • 1,145
13 votes
Accepted

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

Since the Google Translate API requires authentication, a simple work around is to deploy as a web app a Google Apps Script that uses Google's ...
Rashid's user avatar
  • 1,523
12 votes

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

...
Alexey Golyshev's user avatar
10 votes
Accepted

Why doesn't Import work with XOWA offline Wikipedia database?

This is an issue with XOWA. The HTTP Server was rewritten in v2.7.2 to handle POSTs and other features. However, it looks like it crashes on your request. I'll look at fixing this for v2.8.2. I'll ...
gnosygnu's user avatar
  • 116
10 votes
Accepted

web scraping images

If you write an HTML img tag like this: <img src="url/to/image.jpg"> then the image will be downloaded directly upon page load. Some frontend developers ...
C. E.'s user avatar
  • 69.8k
9 votes
Accepted

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

Partial Solution Wolfram Workbench 2 and 3 are not able to launch the front end (Mathematica 10+) to create the final HTML. The solution is to use the new (Eclipse-plugin) version, downloadable from: ...
Frank Martin's user avatar
  • 1,145
9 votes

How to translate interactive graphics from Mathematica to standard HTML+SVG?

For the benefit of those who come across this old question, I have recently written a small open-source library called MathCell that replicates the behavior of Mathematica's ...
Paul Masson's user avatar
8 votes

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

Troubleshooting: Let me rename the OP's output as testorig. ...
Syed's user avatar
  • 37.9k
8 votes

Is it possible to build a small web site with vanilla Mathematica? How about a web server?

There is an exact solution you are looking for Pure Wolfram Engine (freeware!) Webserver with many features supported like WebSockets, GET/POST (but no TLS support so far). Template engine that let ...
Kirill Vasin's user avatar
  • 1,087
7 votes
Accepted

Incorporating photos into a Mathematica-made web page

I haven't seen a clear cut solution listed anywhere even though this question is quite old. Thus, I will post my solution here. The easiest solution is to use SVG format rather than to fiddle with ...
Tadashi Kikuno's user avatar
7 votes
Accepted

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

Store data in question Tables could be left in plain text, with some encoding to remove CR and LF characters and other symbols. ...
rhermans's user avatar
  • 35.8k
7 votes
Accepted

Export Table with URL as HTML?

This is what it looks like for me when I try to export the grid as HTML: These are just the first couple of errors. It goes on like that. On the other hand, ...
C. E.'s user avatar
  • 69.8k
7 votes
Accepted

Import all data from a HTML table, including empty cells

To be clear, this isn't about data that is Missing[] (in which case, you would use DeleteMissing), but rather ...
Carl Lange's user avatar
  • 12.9k
6 votes
Accepted

How do I export a hyperlink?

Here is a workaround which works for me. On version 11.2, windows 7 ...
Nasser's user avatar
  • 135k
6 votes
Accepted

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

Let's step back and do something simpler: ...
rhermans's user avatar
  • 35.8k
6 votes
Accepted

XML, select several values

You can capture all consecutive events like this: ...
Sjoerd Smit's user avatar
  • 21.6k
5 votes
Accepted

Encode accents for html

I think HTML export in Mathematica is based on standards that date back to way before anyone had even heard of HTML5. E.g., the Import docs for HTML say it ...
Jens's user avatar
  • 96.6k
5 votes

Unwanted extra spaces at HTML tag boundaries when using ImportString

I don't know what causes the issue (which looks like a bug to me), but I generally find the best way to deal with exerting control over Import not doing quit the ...
Pillsy's user avatar
  • 18.2k
5 votes
Accepted

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

HTML >> Import Elements So you can use "FullData" in place of "Data": ...
kglr's user avatar
  • 377k
5 votes

How to deploy a simple contact form with WebItems?

Here's the simple way using FormFunction with a custom FormLayoutFunction: ...
b3m2a1's user avatar
  • 46.6k
4 votes
Accepted

Void elements / self closing tags export to HTML

This problem appears to be localized to HTMLFragment, possibly because HTML specifications before HTML5 did not use self-closing tags like XHTML and XML always have....
C. E.'s user avatar
  • 69.8k
4 votes

Why doesn't Import work with XOWA offline Wikipedia database?

As @gnosygnu mentioned in the comments of his answer, the problem is with the "Content-Type" header. So as a temporary fix before XOWA is updated, this works: <...
shrx's user avatar
  • 7,797
4 votes
Accepted

What is the Mathematica string expression to extract the innertext of an HTML element?

jSoupLink can be used if the markup looks like HTML. So even though you contend that your input is not HTML, the following still works: ...
C. E.'s user avatar
  • 69.8k
4 votes
Accepted

Passing the name of an url to ma

Hyperlink["description", "http://coco-m.web.lynchburg.edu/multiplicative calculus.pdf"] Evaluate the link, then click on description.
Fred Daniel Kline's user avatar
4 votes

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

To make this work, you need to specify the format. There is no "XMLObject" format. "XMLObject" is an import element for the <...
Szabolcs's user avatar
  • 232k
4 votes
Accepted

Importing the text from paragraph elements within a specified division

You can use jsoupLink for this: ...
C. E.'s user avatar
  • 69.8k
4 votes
Accepted

How can I wrap groups of cells with HTML tags on export?

Looking through the code, I am not sure this is easily achievable using ConversionRules alone. Here's an attempt at modifying the conversion functions directly: <...
Lukas Lang's user avatar
  • 33.4k
3 votes
Accepted

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

You need to specify ManipulateOutput option: Export["...filename", EvaluationNotebook[], "ManipulateOutput" -> "PNG"] ...
Stitch's user avatar
  • 4,195
3 votes

How to translate interactive graphics from Mathematica to standard HTML+SVG?

There are a few possibilities, I can suggest from my side Either use WLJS Frontend, that supports exporting notebooks to an HTML or React component, however it is still very raw, has no direct ...
Kirill Vasin's user avatar
  • 1,087
3 votes

Export Table with URL as HTML?

This works as expected in version 9 (Windows 10 64bit): Export["test.html", Notebook[{Cell[BoxData[ToBoxes[exp]], "Output"]}], "HTML"] How the exported file ...
kglr's user avatar
  • 377k

Only top scored, non community-wiki answers of a minimum length are eligible