I am using rails 3.2.13 and gmaps4rails(1.5.6) with mongoid.
There are some listings in the left side on the page and on right side there is a google map with all listing locations.
My Requirement :
when user select any listing in the HTML view need to pop up the info window of that listing on google map.
For eg : https://maps.google.pl/maps?hl=pl&q=pharmacy&ie=UTF-8.
Related
I've tried to change meta tag content like
document.title = response.data.seo_page_title[0].text;
document.head.querySelector('meta[name=description]').content = response.data.seo_description;
it change the content when inspect the page but not when i use view soure. So Google, FB and Twitter can't recognize the updated content and doesn't load the proper text when i try to share the page on social media.
View Source shows the original source that has been fetched from the network - it is not the current snapshot of the page. As you have noticed - the current snapshot of the page is available in the DevTools. If you need Google / FB / etc. to see the proper text - you will have to produce this text on the server side (when composing the HTML template) instead of in the browser.
I am implementing a social share feature in to my website which has been created using sitefinity CMS.
For that I have created MVC widget which consist of the code to share via twitter, linkedin and so on. I have referred the following link to implement the same.
https://www.progress.com/blogs/make-your-website-content-shareable-with-social-media-sharing-buttons
To enrich the shared content I need to use open graph custom fields which I need to add on the page where the social share widget is used. However, when I go on to create custom field from page grid I cannot find a type "Social Media (OpenGraph)" inside the type dropdown list.
Note:Version I am using is Progress Sitefinity CMS 11.0.6701.0 Enterprise Edition and checked SEO and OpenGraph properties from settings in backend.
The OpenGraph field type has been added to Pages in Sitefinity version 11.1
See here: https://www.progress.com/documentation/sitefinity-cms/111/release-notes
I have created a custom fiori application and deployed it to abap repository.Now I have to create two tiles.
1.one for displaying the record.
2.other for creating the new record.
Both the pages(display and new) are created in different views in same application.
can I set the first page in first tile and second page in second tile as home page while launching,without creating the same copy of project again.
Another option is to have 2 differents target mapping parameters on the tiles and use this.getOwnerComponent().getComponentData().startupParameters to retrieve them.
This way you can read the parameter and choose what to do.
However as suggested by user6177399 the guidelines for edit and display view would not suggest that.
When we google for some business, it is displaying the result with all page indexed and Map. What changes we need to do in our website to display in such way.
For example:
https://www.google.com.sg/search?q=emhealth
For site links that displaying below the home page, Google will detect it automatically. Just focus on your SEO and Google will change it by itself.
For a map, you need to register on Google Business: https://www.google.com/business/
Google will index when you completely finished. when you doing local listing or local directory submission than your site map show SERPs.
I have a Google Custom Search result page with iframe fro showing results.
I decide to create new one profile, and use this new in the same context.
So I create profile and all I did on my site - just change search ID.
As a result I got
"Refused to display 'https://cse.google.com/cse?cx=...' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."
Then I change my ID back to the old one and it's start to work correctly.
Google stop to support iframes for the custom search result. So your old ID's are support iframes, as legacy support but the newly created profiles does not.