$fields['url']);*/ $fields_dup['data'] = array("postid" => $post->ID, "sharelink" => $fields['url']); $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $fields_dup['big_picture'] = $url; $fields_dup['buttons'] = '[{"id": "id1", "text": "Settings", "icon": "ic_menu_manage"}, {"id": "id2", "text": "Share", "icon": "ic_menu_share"}]'; unset($fields_dup['url']); /* Send another notification via cURL */ $ch = curl_init(); $onesignal_post_url = "https://onesignal.com/api/v1/notifications"; /* Hopefully OneSignal::get_onesignal_settings(); can be called outside of the plugin */ $onesignal_wp_settings = OneSignal::get_onesignal_settings(); $onesignal_auth_key = $onesignal_wp_settings['app_rest_api_key']; curl_setopt($ch, CURLOPT_URL, $onesignal_post_url); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json', 'Authorization: Basic ' . $onesignal_auth_key )); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields_dup)); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Optional: Turn off host verification if SSL errors for local testing // curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); /* Optional: cURL settings to help log cURL output response curl_setopt($ch, CURLOPT_FAILONERROR, false); curl_setopt($ch, CURLOPT_HTTP200ALIASES, array(400)); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_STDERR, $out); */ $response = curl_exec($ch); /* Optional: Log cURL output response fclose($out); $debug_output = ob_get_clean(); $curl_effective_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL); $curl_http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); $curl_total_time = curl_getinfo($ch, CURLINFO_TOTAL_TIME); onesignal_debug('OneSignal API POST Data:', $fields); onesignal_debug('OneSignal API URL:', $curl_effective_url); onesignal_debug('OneSignal API Response Status Code:', $curl_http_code); if ($curl_http_code != 200) { onesignal_debug('cURL Request Time:', $curl_total_time, 'seconds'); onesignal_debug('cURL Error Number:', curl_errno($ch)); onesignal_debug('cURL Error Description:', curl_error($ch)); onesignal_debug('cURL Response:', print_r($response, true)); onesignal_debug('cURL Verbose Log:', $debug_output); } */ curl_close($ch); return $fields; } ?> Facts about Jaganathan temple odisha | Amazing Facts

Amazing Facts about Puri Jaganathan temple odisha

Amazing Facts

Ratha YAtra

1.Puri Jaganathan temple was built in 12th century by king Chodaganga Deva the famous festival celebrated here is Ratha yathra. It is celebrated in the month of Asadha (Rainy season of odisha) usually in the month of June or July.

sudharshan-chakra2.A priest climbs the dome of the temple which stands a tall as a 45 story building and changes the flag every day  since 1800 years temple has following the ritual and there is a myth  if it is not changed the temple must be shut for the next 18 years.

Patitapabana-Bana3.The flag which is located at the top of the temple dome always fly in the opposite direction of air flow.puri-jaganathan-temple4.Normally the daytime the breeze from sea comes to land and the opposite occurs in the evening but in Puri. it is observed to be just in the reverse.

5.The engineering techniques used to install the Chakra on the Gopuram of the temple still remains mystery. The chakra was bought all the way up and installed on the gopuram. From any place in Puri you will always find the sudharshan chakra facing you.

puri-jaganathan-temple-main-dome6.The temple is constructed in such a way that the shadow of the main dome of the temple can’t observed at any given time.

purijaganathan-temple-food7.In Jaganathan Temple kitchen 7 pots are kept one on the top of one another and cooked on fire wood. In the process the contents in the top pot cooked first and the bottom one…The Quantity of Food inside the temple remains same for the entire year but the same quantity. of food can feed from 2000 peoples to 20 lakh people still it won’t get insufficient or wasted.

8.It is a surprise that nothing flies above the temple; a not even bird there is no scientific explanation for this yet.