How would I generate a LRD & ludocid for google search - google-places-api

I've been digging all around the web and can't figure out how to generate a LRD and ludocid. I'm trying to create a simple review link generator but can't seem to get anything of it. I know the procedure of viewing page source etc but I'm trying to make it so it automatically gets it from the input..

This blog post explains both: https://www.theedesign.com/blog/2016/how-to-create-a-google-review-url-with-the-new-g-layout

Related

How to publish a sitemap.xml to my website?

I did not have programming background and I learned to code completely by Google search so please excuse me if the question is not totally clear. I tried to search a this issue but could not find an answer.
I have built a website with React + Golang (Beego framework). Now I am trying to add a sitemap.xml to my website so that when people go to mywebsite.com/sitemap.xml, they will see the sitemap. I already generated the xml file but I am not sure where to put it.
I tried to set a URL in Golang as /sitemap.xml but Golang (Beego) does not render xml file and shows an error. I can put that file into folder static and access that file at mywebsite.com/static/sitemap.xml but I want it to be mywebsite.com/sitemap.xml.
I think I am trying to do it the wrong way. Really appreciate any advice.

Custom URL for Component Search Results

I am writing to seek help to display custom results in a SEF URL on Joomla CMS.
Example: This is a page with a customized search, https://jobwalkins.in/search.html?search=IT&exf_5=1&exf_4=-1&option=com_jomclassifieds&view=search&Itemid=147
I would like to display this link as https://jobwalkins.in/today-walkins-in-hyderabad.html
I am using https://extensions.joomla.org/extension/jom-classifieds/ as the extensions.
Any helpful inputs will be greatly appreciated. I am looking forward to hearing from you soon.
Best Regards,
Syed H
I was able to get the desired output using https://extensions.joomla.org/extension/sh404sef/. The website in question https://jobwalkins.in/ now shows the predefined search results in custom URLs.
Here are a few of them which I was able to achieve:
https://jobwalkins.in/jobs-in-bangalore.html where the actual link was https://jobwalkins.in/search.html?search=&exf_5=2&exf_4=-1&option=com_jomclassifieds&view=search&Itemid=147
https://jobwalkins.in/today-walkins-in-hyderabad.html where the actual link was https://jobwalkins.in/search.html?search=&exf_5=1&exf_4=-1&option=com_jomclassifieds&view=search&Itemid=147
It works even for the links where the keywords are searched ex:
I searched for a keyword "fresher" and have set the page to render on custom URL https://jobwalkins.in/fresher-jobs.html where the actual link was https://jobwalkins.in/search.html?search=fresher&exf_5=-1&exf_4=-1&option=com_jomclassifieds&view=search&Itemid=147
The sh404SEF https://extensions.joomla.org/extension/sh404sef/ worked great and helped me address my concern very well.
Hope this post is useful for someone who may have a similar issue.

XPath scrape using google sheets

I have been struggling to get any XPath technique to work on octoparse and similar software. I'm now trying google sheets from reading posts here and can't get it to work either.
Input: A slideshare presentation url (eg https://www.slideshare.net/carologic/ai-and-machine-learning-demystified-by-carol-smith-at-midwest-ux-2017)
Intended output: Slideshare embed url (in this case: https://www.slideshare.net/slideshow/embed_code/key/wZudqqTdctjWXA)
I think this would be the way to get the output using google sheets: =importxml(A1,"//meta[#itemprop='embedURL']/#content")
It is not working for me (failure to fetch url). With Octoparse etc I just got a blank value.
I'm being daft here, no doubt. Any help would be useful.
It doesn't work because slideshare is owned by LinkedIN, and they have put in a lot of effort to ensure they cant be scraped, including google sheets. Before it was possible, but I believe they eventually caught on to the work around.

Google Drive Api - Document without authorization

I am building an app where two different users will edit the same document online, using only plain text. For this I am using the google-api-php-client-master hosted on github.
There are some examples, but I don't understand what I need to do to achieve my goal. The official documentation is deprecated because it reffers to a library that is not online, and all the classes have different names and ways of working.
I already got my credentials, and know how to get a list of the documents hosted on my drive account. But now I need to:
Create new document
Grant access to a non-google logged in user, just accessing the link
I don't expect anybody to give me a written solution, but to know where I have to start.
Thanks a lot for reading.
Ok im trying to do almost the same thing and this is what i know so far:
Most importantly please reffer to the docomentation: https://developers.google.com/drive/v2/reference
There is a written example on how to create new file!( section files->insert)
One way to make a gdrive file public is to share it to the web via the google api. Another way is to make revision of it( section revision->update) and then publish it( by setting "published" = true in the update request).
Being aware of your requirements i gues that the publishing wont really help you achieving your goal, because it is just a revision of the document from the past and not its current state.

Buddypress for wordpress Main Activity filtering AJAX

I am trying to wrap my head around how these are all connected. I am trying to add some functionality to my main activity AJAX query if a button is clicked. I see the _inc/ajax.php to edit and have looked through it, but not sure where to edit it to include new options or new loops.
As of now it seems I can find some of the features listed but I am getting stuck on how they get connected up specifically when creating my own new custom loops to be used. I created a update-loop.php and put this in my theme folder in a new directory called 'update' but can't seem to get it loaded up correctly.
All I want is to get the filtering option to filter new blog posts. (if possible new blog posts from a specific category, which looking through the available options and don't see it anywhere). Note I am NOT using wordpress Mu.
Thanks for any help or guidance, I have asked on the buddypress support forums (lost cause) but I never get any feedback or any peep out of any one there.
---------EDITED:
Let me clearly ask at least one question that would be very helpful in my knowledge and future development with buddypress in working using AJAX.
How can I/If possible create my own custom loops and use them within the ajax filtering options on the main activity wall?
Please any help would be greatly appreciated...
I don't know if you custom functionality is (seperate) plugin but take a look at this:
http://codex.wordpress.org/AJAX_in_Plugins
I'm afraid I don't understand what you are asking or what you want to do....

Resources