ahmadfaizalbh / ahmadfaizalbh/django-oembed

"type" : "link" in json and link.html

Ouverte
#15 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
auto-migrated Priority-Medium Type-Defect
Langage dominant
Python
Étoiles
0
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

```
What steps will reproduce the problem?
1. Use a twitter status or wikipedia article link with oembed tag

What is the expected output? What do you see instead?

oohembed returns that json for a status link :
{
"title":
"ええい誰かnobotterを108で止めるテクニシャンはおらんのか��
�",
"author_name": "maicos",
"thumbnail_width": 48,
"version": "1.0",
"author_url": "http://friendfeed.com/maicos",
"provider_name": "Twitter Status",
"thumbnail_url":
"http://a1.twimg.com/profile_images/592980418/parman_ribbon2_normal.png",
"type": "link",
"thumbnail_height": 48
}

and in

File "/usr/local/lib/python2.6/dist-packages/oembed/core.py", line 162, in
replace replacement = render_to_string('oembed/%s.html' % resp['type'],
{'response': resp})

tries to find link.html and fails
```

Original issue reported on code.google.com by `hamdiakoguz@gmail.com` on 11 Jan 2010 at 1:10

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.