issue: long trackback urls do not wrap

Jens Nachtigall <nachtigall-S0/[email protected]> Mon, 12 Jun 2006 14:29:18 +0200
Newsgroups gmane.comp.python.zope.coreblog.english
Message-ID <[email protected]>
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

_______________________________________________
COREblog-en mailing list
COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]
http://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBEjV4kAzJOgw63+4oRAkLAAJwJaC6K7SDy3GOC+X7A8O4qZ0A6jACaAiDH
RVcQKzpdH3XNI5QZYiJlOWk=
=lv3g
-----END PGP SIGNATURE-----