ahmadfaizalbh / ahmadfaizalbh/django-oembed

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

Abierto
#15 0 comentarios 0 reacciones 0 asignados Ver en GitHub
auto-migrated Priority-Medium Type-Defect
Lenguaje dominante
Python
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

```
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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.