List Info

Thread: issue: long trackback urls do not wrap




issue: long trackback urls do not wrap
user name
2006-06-12 12:29:18
Hi,

I do report this issue here because on trac it seems not to
be possible to add issues atm

I do have blog entries with trackback urls like this

http://freifunk.net/blog/produktio
n-des-meshcubes-offensichtlich-eingestellt-2013-suche-nach-a
lternativgeraeten-fuer-freifunk-netze/tbping

Since this does not wrap at all, the middle slot gets very
wide and the layout looks strange.

I changed cbentry_view.cpt to
           <dl class="trackbackURLBlock"
tal:define="trackback_url
python:entry_obj.absolute_url() + '/tbping'">
               <dt >
               Die URL für den Trackback dieses Eintrags
lautet: <br />
               </dt>
               <dd tal:condition="python:
len(trackback_url) > 70"
tal:content="structure python:trackback_url[:70] + '
â~Fµ<br />' + trackback_url[70:] + ' &nbsp;
'">
                  http://trackback.
url/entryid/tbping
               </dd>
               <dd tal:condition="python:
len(trackback_url) < 71"
tal:content="python:trackback_url">
                  http://trackback.
url/entryid/tbping
               </dd>
           </dl>

Look at http://freifunk.net/blog/produktion-des-m
eshcubes-offensichtlich-eingestellt-2013-suche-nach-alternat
ivgeraeten-fuer-freifunk-netze
for how this works


Ideally the trackback would use some kind of id to have a
short url like in this case
http://my-plone.o
rg/blog/123/tbping

Jens
_______________________________________________
COREblog-en mailing list
COREblog-enpostaria.com
http
://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leavepostaria.com
issue: long trackback urls do not wrap
user name
2006-06-12 13:52:15
Hi .

On Mon, 12 Jun 2006 14:29:18 +0200, wrote:
> Hi,
> 
> I do report this issue here because on trac it seems
not to be 
> possible to add issues atm
> 
> I do have blog entries with trackback urls like this
> 
> http://freifunk.net/blog/produktio
n-des-meshcubes-offensichtlich-eingestellt-2013-suche-nach-a
lternativgeraeten-fuer-freifunk-netze/tbping

I think this is the sort of "implementation
dependant".

How about customizing portal_skins/COREBlog2/cbentry_view.
                          :
<dd tal:content="python:entry_obj.absolute_url() +
'/tbping'">
   http://trackback.
url/entryid/tbping
</dd>
                          :

Like this.

<dd>
   <input type="text" size="80"
          tal:attributes="value
python:entry_obj.absolute_url() + '/tbping' />
</dd>

Have funn .

----------------------------------------
Atsushi Shibata (Webcore Corp.)
shibatawebcore.co.jp
http://www.webcore.co.jp/
----------------------------------------
_______________________________________________
COREblog-en mailing list
COREblog-enpostaria.com
http
://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leavepostaria.com
issue: long trackback urls do not wrap
user name
2006-06-13 08:17:29
Hi Atsushi,

> > http://freifunk.net/blog/produktion-des
-meshcubes-offensichtlich-eingeste
>
>llt-2013-suche-nach-alternativgeraeten-fuer-freifunk-net
ze/tbping
>
> I think this is the sort of "implementation
dependant".

Thanks for the hint. But I think this is not only an issue
with our portal: 
our blog url is not very long (http://freifunk.net/blog/), but what is long 
is the id of the blog entry. Since the id is autogenerated
from the title 
(which is very fine), most coreblog2 sites should have this
problem.

The fix you presented in your last mail is nice, maybe it
could be integrated 
into coreblog2 (otherwise I'll have to patch whenever it
comes to a new 
release).

jens


_______________________________________________
COREblog-en mailing list
COREblog-enpostaria.com
http
://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leavepostaria.com
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )