Experiment

Show off your finished Inkscape work.
Ged
Posts: 50
Joined: Wed Sep 16, 2015 3:01 pm

Experiment

Postby Ged » Sun Mar 20, 2016 10:28 am

[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++

:geek: 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? :roll:

So, whats next? :ugeek:

tylerdurden
Posts: 2293
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Experiment

Postby tylerdurden » Sun Mar 20, 2016 10:57 am

This:

Code: Select all

[svg]https://dl.dropbox.com/s/x5w5eoxazsr0f93/exp1.svg[/svg]

SVG Image
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/

Ged
Posts: 50
Joined: Wed Sep 16, 2015 3:01 pm

Re: Experiment

Postby Ged » Sun Mar 20, 2016 11:32 am

Ahhh :roll:

I see you used Dropbox to achieve this. Can it be done from my 'Onedrive?"

User avatar
brynn
Posts: 10307
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Experiment

Postby brynn » Sun Mar 20, 2016 11:55 pm

For those of us who are not mind readers -- what are you trying to do?

Ged
Posts: 50
Joined: Wed Sep 16, 2015 3:01 pm

Re: Experiment

Postby Ged » Tue Mar 22, 2016 8:16 pm

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:

SVG Image

... 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.

Lazur
Posts: 4694
Joined: Tue Jun 14, 2016 10:38 am

Re: Experiment

Postby Lazur » Tue Mar 22, 2016 10:22 pm

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:

SVG Image

... 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.

User avatar
brynn
Posts: 10307
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Experiment

Postby brynn » Wed Mar 23, 2016 10:45 am

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/

tylerdurden
Posts: 2293
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Experiment

Postby tylerdurden » Wed Mar 23, 2016 1:00 pm

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.
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/


Return to “Finished Inkscape Work”

Who is online

Users browsing this forum: No registered users and 1 guest