Generar vistas previas de onebox para enlaces en publicaciones importadas

am i correct that onebox previews won’t be generated for links in imported posts?
for example, i’m not seeing it in youtube links on a phpbb migration.

any pointers for accomplishing this? thanks

If you rebuild the html on one post as a test, does it get onebox’d?

2 Me gusta

it sure does!

how can i do it in bulk?

1 me gusta

read this whole thread for warnings!

i will give this a whirl…

docker exec discourse-app rake posts:rebake

edit: yes, this works
thanks for the hint, @Richie

1 me gusta

Before you do…

1 me gusta

Just be careful, we have run in to problems with YouTube, Amazon and others blacklisting our server because we hammered them for onebox details when rebaking hundreds of thousands of posts :confused:

uh oh. i already let it rip. i hope it will be ok?

phpbb=# select count(*) from phpbb_posts where (post_text like '%youtu%' or post_text like '%instagr%' or post_text like '%facebook%');
 count
-------
  1226
(1 row)

so there’s a ballpark… you think i’ll be ok? this is from my home IP lol. i’ll read your link and see if there is a way to be more careful next time.

1 me gusta

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.