Questions tagged [html]

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

Filter by
Sorted by
Tagged with
4
votes
0answers
85 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 ...
0
votes
0answers
20 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:- <...
4
votes
1answer
39 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: ...
4
votes
0answers
32 views

HTML export: Customize footer

If I export a notebook to HTML, this is inserted at the end of every page: ...
2
votes
0answers
27 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 ...
4
votes
0answers
25 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 <...
3
votes
1answer
65 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 ...
3
votes
1answer
270 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 ...
5
votes
0answers
54 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 ...
5
votes
2answers
151 views

Export Table with URL as HTML?

This is expression: ...
4
votes
1answer
117 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: ...
3
votes
1answer
102 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 ...
0
votes
0answers
29 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 ...
2
votes
1answer
91 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 ...
0
votes
1answer
67 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 ...
0
votes
0answers
99 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 ...
0
votes
0answers
281 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 ...
1
vote
1answer
52 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" ...
3
votes
1answer
86 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 ...
1
vote
1answer
133 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 ...
4
votes
0answers
52 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 ...
9
votes
1answer
170 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 ...
1
vote
1answer
93 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 ...
2
votes
1answer
190 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 ...
14
votes
1answer
315 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 ...
6
votes
1answer
82 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 ...
11
votes
2answers
365 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 ...
-5
votes
1answer
54 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.
1
vote
0answers
64 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 ...
10
votes
2answers
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 ...
5
votes
0answers
53 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 ...
3
votes
3answers
140 views

Generate an html fragment hyperlink which opens a new tab

Generating a hyperlink (for later use with a cloud deployment) yields, ...
1
vote
2answers
129 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: ...
5
votes
1answer
134 views

Custom rules for expressions in export to HTML(Fragment)

ExportString[Grid[{{a, b}}], "HTMLFragment"] ...
1
vote
0answers
93 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 ...
2
votes
0answers
204 views

Exporting Tooltip data to HTML [closed]

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

Unwanted extra spaces at HTML tag boundaries when using ImportString

What causes the following unexpected behavior? ...
0
votes
0answers
584 views

How to prevent space trimming when importing HTML with ImportString?

I am importing a HTML-formatted string with ImportString[string, "HTML"] to properly parse all HTML-escaped characters like ...
4
votes
0answers
80 views

Incompatibility between CDF document and reveal.js

I am making some reveal.js-based slides with a CDF document embedded. The minimal example include the files: ...
0
votes
0answers
57 views

Access interactive web forms [duplicate]

I would like to communicate with interactive web forms, e.g., get the same HTML response as if I had clicked a "select" button and then clicked a "submit" button on a web page. This is for automated ...
0
votes
0answers
73 views

Getting Boston Marathon Data [duplicate]

I am trying to use Mathematica to analyze the data given by the Boston Marathon concerning running time, etc. The website http://registration.baa.org/2015/cf/Public/iframe_ResultsSearch.cfm gives a ...
7
votes
2answers
249 views

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

I'm having trouble with importing HTML from XOWA offline wikipedia database. I set up a local server for datamining, but I can't access it with Mathematica. I can request a HTML page with ...
2
votes
0answers
97 views

Importing HTML loses the Nested tags relation

...
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: ...
8
votes
1answer
296 views

Incorporating photos into a Mathematica-made web page

I use Mathematica to make my web page. I make various .nb files, usually with photos, and then use an Export command to convert the .nb file to an .html file with ...
4
votes
1answer
150 views

How can I import html fragments as formatted cells?

I see that there is limited support for "HTMLFragment" in Export, but I figured with all the work that went into porting Mathematica into the Wolfram Cloud there should be a way to Import "...
0
votes
0answers
94 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following <...
5
votes
1answer
131 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 ...
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 ...
1
vote
1answer
64 views

How can I give each section a unique <a> tag when I Export as XHTML?

Exporting a notebook as XHTML allows me to override the default HTML tags that are written for section-header-like cells. For example, a notebook cell whose type is "Section", containing text "The ...