[COREblog-en] issue: long trackback urls do not wrap

Jens Nachtigall nachtigall at web.de
Mon Jun 12 14:29:18 CEST 2006


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/produktion-des-meshcubes-offensichtlich-eingestellt-2013-suche-nach-alternativgeraeten-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-meshcubes-offensichtlich-eingestellt-2013-suche-nach-alternativgeraeten-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.org/blog/123/tbping

Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://postaria.com/pipermail/coreblog-en/attachments/20060612/f31a75ca/attachment.pgp 


More information about the COREblog-en mailing list