Questions tagged [html]

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

Filter by
Sorted by
Tagged with
40
votes
2answers
2k views

Extract information from HTML using CSS selectors?

TL;DR Is there any way that we can parse HTML using CSS selectors in Mathematica, the way it is done in for example jQuery? Extracting information from websites, i.e. web-scraping, in Mathematica can ...
37
votes
3answers
5k views

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

I have a simple interactive plot in Mathematica, with controls for various parameters. The point of the plot is simply that users can explore how the plot changes as the parameters change by ...
29
votes
5answers
3k views

Fetching data from HTML source

I want to generate a couple of plots/graphs with Area 51 statistics. Since Area 51 doesn't work with the SE API, I'm forced to find another way to get the information I want. That other way is with <...
15
votes
3answers
3k views

How to scrape the headlines from New York Times and Wall Street Journal?

How to scrape headlines from New York Times, Wall Street Journal main pages to create datasets similar to this service? Importing HTML from nyt.com (HTML4) results in a ...
14
votes
1answer
406 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 ...
11
votes
2answers
389 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 ...
10
votes
1answer
540 views

How can I use “Save as (html)” and still render code as text?

I use notebook "Save as ... (html)" to convert my .nb to web. Formulas and plots get converted to images, which is fine. But code (input cells) get converted too into images. I would like people to be ...
12
votes
1answer
828 views

Dynamic visualization of Graph[] on a webpage

How can we embed a dynamic version of a Graph object on a web page, similar to the one showcased on the networkx home page? This sort of dynamic visualization can ...
50
votes
1answer
3k views

Google Map in Notebooks?

GoogleMaps are implemented as HTML and Javascript code which can be viewed by a web browser. Is it possible to load this map into the Mathematica notebook, which obviously means for example that <...
23
votes
3answers
2k views

Download xkcd Click and Drag comic

Inspired by the recent question about xkcd styled plots I started looking at xkcd again and I came across a comic titled Click and Drag. And if you do that, you start exploring a larger drawing. A ...
13
votes
1answer
967 views

Exporting numbered equations to HTML/TeX using conversion rules

This question is a follow up from this one. It may also be considered a duplicate since I have already asked this question in stackoverflow almost a year ago. For a background on using numbered ...
5
votes
2answers
737 views

How to save a web page in mathematica?

For a given web page http://www.nytimes.com/, is it possible to save it as : first: only HTML(within css) second: more elements(include pictures and so on) just like what a browser can do. ...
5
votes
1answer
138 views

How to set ExportOptions for custom HTML exports

I need to customize some HTML tags when exporting a Mathematica notebook to HTML. I have to use the File ► Save As… FrontEnd token and not ...
5
votes
0answers
366 views

Notebook manipulation to “Save as (HTML)”

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
3
votes
1answer
419 views

Exporting HTML code to file.html

I've got a problem with re-saving html code. Lets create html file: ...
11
votes
1answer
1k views

Send HTML tables with SendMail

I'm trying to send some HTML table using Mathematica SendMail function. To do it I wrote this function: ...
10
votes
1answer
385 views

How to work around incorrect tooltips in plots exported to HTML

This is an issue that I always wanted to investigate but haven't gotten around to solving yet: The tooltips for contour lines in a plot like this can be very useful in the Notebook interface: ...
4
votes
1answer
1k views

Extracting text from nested HTML lists <ul> <li>

We wish to analyze the tree structure of HTML documents that consist of nested lists, ie, using the HTML tags <ul> and ...
5
votes
2answers
273 views

Cleaning up a List of HTML Data to Render Usable Information

I am using Mathematica to scrape information from webpages. To get file information, I am gathering plain text that is enclosed by <tr> and ...
5
votes
2answers
252 views

HTMLEncode a string for webMathematica

Is there a native Mathematica way to convert a string like "<select></select>" into ...
5
votes
1answer
270 views

“Save as (html)” and still render Input cell code as text?

When I' m testing on this post' s method I found some problems. ...
4
votes
1answer
284 views

How to grab CellTags from a Cell?

I am in the process of creating a palette for a specialised "Save as HTML". For context please see this. How can I grab the CellTags from a Cell[...] object? This is my first iteration, aka testing ...
3
votes
1answer
489 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 ...
3
votes
0answers
139 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
4
votes
1answer
398 views

Image Tooltip exported to HTML

Graphics@Tooltip[Hyperlink[{Purple, Rectangle[{0, 0}]}, "http://www.wolfram.com"], Graphics[Disk[]]] Is it possible to make image tooltip kept in the html?
4
votes
1answer
155 views

Open an html saved notebook

I have found an html page clearly created using the Save as HTML option of Mathematica. Is ...
2
votes
0answers
60 views

Problem of importing some special characters in HTML

content of the html file is as follows: <p> 被尊称为&ldquo;高贵的&rdquo; </p> method1: ...
2
votes
1answer
196 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 ...
2
votes
0answers
220 views

Exporting Tooltip data to HTML [closed]

It would be very useful if one could export interactive Tooltip graphics to an HTML file like: ...
0
votes
0answers
46 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...
0
votes
1answer
164 views

Move selection to next Output and export to CDF

In my quest to a custom "Save as HTML" (please see context here) I am now able to iterate through the notebook, grab Input cells decorated with a CellTag that, by convention, is going to be a file ...