quran / quran.com-frontend

quran.com frontend
https://quran.com
MIT License
996 stars 360 forks source link

Google results appearance #768

Open mmahalwy opened 7 years ago

mmahalwy commented 7 years ago

image

naveed-ahmad commented 7 years ago

We've images of ayah, I would prefer to add ayah images in meta tags. This could generate lot of traffic from image search as well.

mmahalwy commented 7 years ago

AGREED! Let's do that?

mmahalwy commented 6 years ago

@naveed-ahmad I don't recall the url for the images. Do you know where?

naveed-ahmad commented 6 years ago

@mmahalwy

http://staging.quran.com:3000/api/v3/chapters/1/verses?recitation=1&translations=21&language=en&text_type=image

You can use text_type=image for ayah images but I guess that's going to be change as well.

OR

We don't need to fetch image urls via api. Simply replace chapter id and ayah id :) http://c22506.r6.cf1.rackcdn.com/1_1.png

http://c22506.r6.cf1.rackcdn.com/CHAPTER_AYAH.png

mmahalwy commented 6 years ago

Yeah, can deduce the url