[svg]<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="84.860313mm"
height="63.08889mm"
viewBox="0 0 300.68615 223.54331"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="rectangle.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-288.94263"
inkscape:cy="-101.08549"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:showpageshadow="false"
showborder="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1280"
inkscape:window-height="657"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-206.79977,-207.73341)">
<rect
style="opacity:1;fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:3.54330707;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3336"
width="297.14285"
height="220"
x="208.57143"
y="209.50507"
ry="110"
rx="0" />
</g>
</svg>
[/svg]
Ummm?
I copied the HTML code from Notepad++
So here it is with a few bits left off.
[svg] xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="84.860313mm"
height="63.08889mm"
viewBox="0 0 300.68615 223.54331"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="rectangle.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="-288.94263"
inkscape:cy="-101.08549"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:showpageshadow="false"
showborder="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1280"
inkscape:window-height="657"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-206.79977,-207.73341)">
<rect
style="opacity:1;fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:3.54330707;stroke-linecap:butt;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3336"
width="297.14285"
height="220"
x="208.57143"
y="209.50507"
ry="110"
rx="0" />
</g>
[/svg]
Hmmm?
So, whats next?
Experiment
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Experiment
This:
Code: Select all
[svg]https://dl.dropbox.com/s/x5w5eoxazsr0f93/exp1.svg[/svg]
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
Re: Experiment
Ahhh
I see you used Dropbox to achieve this. Can it be done from my 'Onedrive?"
I see you used Dropbox to achieve this. Can it be done from my 'Onedrive?"
Re: Experiment
For those of us who are not mind readers -- what are you trying to do?
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Experiment
Well, for example, here is an svg chart that I managed to get up on my own website. I copied the address from "view the page info" and got this:
... but I cannot seem to be able to get it up on another forum. (nor this forum) Im scratching my head, because png images seem to work ok.
... but I cannot seem to be able to get it up on another forum. (nor this forum) Im scratching my head, because png images seem to work ok.
Re: Experiment
Ged wrote:Well, for example, here is an svg chart that I managed to get up on my own website. I copied the address from "view the page info" and got this:
... but I cannot seem to be able to get it up on another forum. (nor this forum) Im scratching my head, because png images seem to work ok.
There is no proper link to an svg that could be "embedded" on that page.
Instead, the xml of the svg is present.
For embedding an svg with tags on a forum you need it somewhere hosted with a url -ending .svg.
Re: Experiment
I'm saying something similar, but using different words, in case it might help you understand more. The chart is not a unique SVG file. The page is an HTML file, and within the html, is some SVG/XML code which creates the chart. (it's inside div tags)
If you know SVG/XML and Inkscape well enough, you could copy just the XML code, and add to it whatever other code is needed to make a proper SVG file. That's what tylerdurden did, apparently. This might help you understand: https://inkscape.org/en/develop/about-svg/
If you know SVG/XML and Inkscape well enough, you could copy just the XML code, and add to it whatever other code is needed to make a proper SVG file. That's what tylerdurden did, apparently. This might help you understand: https://inkscape.org/en/develop/about-svg/
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
-
- Posts: 2344
- Joined: Sun Apr 14, 2013 12:04 pm
- Location: Michigan, USA
Re: Experiment
Svg files are XML, and most boards do not permit XML to be attached for security reasons. Just like some boards filter out any typed/pasted HTML or JS unless inside a [code] bb tag.
OTOH, some file hosts will allow hotlinking to svg files, dropbox being one of those hosts.
OTOH, some file hosts will allow hotlinking to svg files, dropbox being one of those hosts.
Have a nice day.
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/
I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1
The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/