← Back to team overview

birdie-team team mailing list archive

[Bug 1185031] Re: Tweet parsing problem

 

Nice! :)

You're welcome, but I'm just a bug reporter and suggestion maker you know.
Even if it's of course very useful, it's YOU (among others) who gave life to this so great Twitter client and working hard on the code! So, definitely thank YOU!

Make my contribution to the building is therefore the minimum I can do,
for my part. ;)

-

About this report however, still, I see that you added this time many manual .replace.
Great, but for example, you added .replace ("½", "½") but not .replace ("¼", "¼") nor .replace ("¾", "¾").
This is just an example to show you that, by doing this stuff manually, you're SURE to forget so many things because the list is so long!
See for example this link (and list maybe even not exhaustive!): http://www.w3schools.com/tags/ref_entities.asp

=> Morality: Find a (light but still) decent/quality parsing library (in
which many guys have contributed since many years) to do that parsing
stuff. ;)

-- 
You received this bug notification because you are a member of Birdie
Developers, which is subscribed to Birdie.
Matching subscriptions: Birdie
https://bugs.launchpad.net/bugs/1185031

Title:
  Tweet parsing problem

Status in Birdie:
  Fix Committed

Bug description:
  Tweet parsing problem:
    => See this screenshot: http://i.imgur.com/NfF8d4y.png
    => Tweet concerned: https://twitter.com/MKERone/status/339364094786285568

  N.B.: Also note that, visibly, when 1 tweet only is returned in search
  results, it appears at the bottom of the window, rather than at the
  top. I'll report that in a separate bug report.

  OS: Ubuntu 12.04.2 LTS (with XFCE)
  Birdie version used: the last one available in the DAILY repository (did an "apt-get install birdie" to update it few minutes ago).

  *EDIT*
  In fact, I suppose it's the "greater than" character (>), the problem, in this case.
  From the text of the tweet. Not the & from the URL.
  Need to parse all special characters so.

  *EDIT 2*
  Problem already resolved in the next revision visibly, cf. my comment below.

  --
  Related log lines (I think):
  --
  [_LOG_LEVEL_WARN 15:40:37.564540] [Gtk] Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as &

To manage notifications about this bug go to:
https://bugs.launchpad.net/birdie/+bug/1185031/+subscriptions


References