APT-URLs
Started by: HavokCRHavokCR
On: 1237434714|%e %b %Y, %H:%M %Z|agohover
Number of posts: 5
rss icon RSS: New posts
Summary:
Be able to use Apt-Url like http://appnr.com/
APT-URLs
HavokCRHavokCR 1237434714|%e %b %Y, %H:%M %Z|agohover

Hi there. I'm a developer and I'm using Wikidot for the project homepage. I was writing http://ice3.wikidot.com/es:developers when I wanted to use APT-URLs (http://www.apturl.net) for all the Ubuntu based developers to install development libraries (and in a future, our software) with just one click.

From Apt-Url.net
"Apturl.net is a web interface that install packages on Ubuntu. Since version 7.10 (Gutsy) it's possible to install packages using a protocol named apt-url. This site does the same service that Synaptic and "Add/Remove Softwares", but through a browser."

I tried, for example:

[apt://python2.5 Instalar Python 2.5]

But that doesn't work. Any idea? Or consider it like a feature request.
This site Appnr work with Apt-URL http://appnr.com/

Thanks in advance.

unfold APT-URLs by HavokCRHavokCR, 1237434714|%e %b %Y, %H:%M %Z|agohover
Re: APT-URLs
Craig MacomberCraig Macomber 1237436422|%e %b %Y, %H:%M %Z|agohover

Consider it a feature request, but you can make an html file and upload and iframe it as a workaround like I did on http://f-g.wikidot.com/ to get the irc link to work.

Edit: I think there is some way to iframe a code block, but I don't know how to do it.

last edited on 1237436480|%e %b %Y, %H:%M %Z|agohover by Craig Macomber + show more
unfold Re: APT-URLs by Craig MacomberCraig Macomber, 1237436422|%e %b %Y, %H:%M %Z|agohover
Re: APT-URLs
SandboxerSandboxer 1238219721|%e %b %Y, %H:%M %Z|agohover

I also wish anything with "://" would render to an anchor link - but wikidot appear to restrict to just http and ftp.

In my case I need s3:// for linking to my amazon bucket.

unfold Re: APT-URLs by SandboxerSandboxer, 1238219721|%e %b %Y, %H:%M %Z|agohover
Re: APT-URLs
HavokCRHavokCR 1237671303|%e %b %Y, %H:%M %Z|agohover

For now I'm using this:

[*http://www.apturl.net/index.php/install/gedit Install gedit] :
Install gedit

But I don't like this, because it takes the user to another page.

I tried some workarounds, I tried javascript:

<html>
    <head></head>
    <body>
        <script language="JavaScript">
var searchString = document.location.search;
searchString = searchString.substring(1);
document.write("<a href=apt://" + searchString + ">" + searchString + "</a>")
        </script>
    </body>
</html>

For example, I can write in my locahost apache: http://localhost/apturl.html?gedit and actually get the apt-url link.

So, I tried put this to a "include:apturl" page like explained here: http://community.wikidot.com/howto:use-html-scripting

But using [[iframe http://somesite.wikidot.com/include:apturl/code/1?{$package} frameborder="0" scrolling="no" width="100px" height="20px"]] instead.

So I could use it like this in another page:

[[include include:apturl package=gedit]]

But! Wikidot site tells me that, for example, the file http://somesite.wikidot.com/include:apturl/code/1?gedit doesn't exists :P
But actually if you type http://somesite.wikidot.com/include:apturl/code/1 and read the source code you can actually see the javascript part.

So, no more ideas xD

Cheers.

unfold Re: APT-URLs by HavokCRHavokCR, 1237671303|%e %b %Y, %H:%M %Z|agohover
Re: APT-URLs
ErichSteinboeckErichSteinboeck 1238359238|%e %b %Y, %H:%M %Z|agohover

See my How-To Iframe Link for a possible solution.

If it works for your apt:// links, please let us know and with which browser/version you tested it. If you can provide a sample apt:// URL, I'll add it to the example section.

unfold Re: APT-URLs by ErichSteinboeckErichSteinboeck, 1238359238|%e %b %Y, %H:%M %Z|agohover
New post

Bookmark and Share

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.