[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owncloud
Subject:    Re: [Owncloud] URL shortening
From:       Victor Dubiniuk <victor.dubiniuk () gmail ! com>
Date:       2012-11-06 10:41:06
Message-ID: CA+UHsBu25kQoTEPZyfcKjf=CmTfpNiZyQGzTbdvFMsNVaVjGFw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

From my POV, shortening is possible with a dedicated controller, a simple
DB table containing the source | destination fields, and (optionally)
mod_rewrite rule for apache / dedicated location for nginx.
As soon as portability restrictions make it impossible to use DB constrains
this table should be revised by cron.

---
Victor


On Tue, Nov 6, 2012 at 1:16 PM, Jan-Christoph Borchardt <
hey@jancborchardt.net> wrote:

> It seems we veered off from the original problem. Shorty is an app for
> shortening external links =96 essentially it=92s tinyurl inside your
> ownCloud.
>
> The problem Morten has is different though =96 ownCloud=92s own share
> links are too long with their massive tokens. This was also brought up
> again the other day, and in this issue:
> http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1562 =96 we
> shouldn=92t require people to use shorty or any app to get proper links.
>
> If people generate a public link there=92s 2 big use-cases: private and
> public. For a private link it makes sense to have such a long token,
> for a public one it doesn=92t really matter. And coincidentally, it=92s
> also the public ones you want to share on Twitter or other networks
> where you might need a short link.
> Using an external service for that has several problems: external
> tracking, privacy breach (though voluntary), it can break at any time,
> =85
>
> What about by default the address being long and tokenized, and then
> there=92s a toggle in the address field with which you can shorten it?
> As discussed in
> http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-135, the
> address can get much shorter (as for CalDAV and CardDAV).
>
> If people need an external link shortener to be able to post their
> links somewhere, we need to improve. This is not an app opportunity
> but a much needed feature which just needs a tiny bit of interface
> (but a lot of backend code I assume).
>
>
> Thoughts?
> _______________________________________________
> Owncloud mailing list
> Owncloud@kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>

[Attachment #5 (text/html)]

<div>Hi,</div><div><br></div><div>From my POV, shortening is possible with a dedicated \
controller, a simple DB table containing the source | destination fields, and (optionally) \
mod_rewrite rule for apache / dedicated location for nginx.</div> <div>As soon as portability \
restrictions make it impossible to use DB constrains this table should be revised by \
cron.</div><div><br></div><div>---</div><div>Victor<br><br><br><div class="gmail_quote">On Tue, \
Nov 6, 2012 at 1:16 PM, Jan-Christoph Borchardt <span dir="ltr">&lt;<a \
href="mailto:hey@jancborchardt.net" target="_blank">hey@jancborchardt.net</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">It seems we veered off from the original problem. Shorty is an app \
for<br> shortening external links – essentially it’s tinyurl inside your<br>
ownCloud.<br>
<br>
The problem Morten has is different though – ownCloud’s own share<br>
links are too long with their massive tokens. This was also brought up<br>
again the other day, and in this issue:<br>
<a href="http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1562" \
target="_blank">http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-1562</a> – we<br> \
shouldn’t require people to use shorty or any app to get proper links.<br> <br>
If people generate a public link there’s 2 big use-cases: private and<br>
public. For a private link it makes sense to have such a long token,<br>
for a public one it doesn’t really matter. And coincidentally, it’s<br>
also the public ones you want to share on Twitter or other networks<br>
where you might need a short link.<br>
Using an external service for that has several problems: external<br>
tracking, privacy breach (though voluntary), it can break at any time,<br>
…<br>
<br>
What about by default the address being long and tokenized, and then<br>
there’s a toggle in the address field with which you can shorten it?<br>
As discussed in<br>
<a href="http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-135" \
target="_blank">http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-135</a>, the<br> \
address can get much shorter (as for CalDAV and CardDAV).<br> <br>
If people need an external link shortener to be able to post their<br>
links somewhere, we need to improve. This is not an app opportunity<br>
but a much needed feature which just needs a tiny bit of interface<br>
(but a lot of backend code I assume).<br>
<br>
<br>
Thoughts?<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" \
target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br> \
</blockquote></div><br></div>



_______________________________________________
Owncloud mailing list
Owncloud@kde.org
https://mail.kde.org/mailman/listinfo/owncloud


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic