Is it possible to export a google doc using the ?export=pdf option, through a Google Sites link? - pdf-generation

I work for a healthcare facility, with which we have a google site that we upload information to, to keep it centralized for everyone. I found this information on the Google Workspace help page, and when I put together my link and test it outside of the site, it works perfectly fine. When I insert it into our Google Site, it fails over and acts like it will download, but doesn't. Any ideas?
If this isn't possible, I have another question. Is there an option to export a published Google Doc using the ?export=pdf option? Our main goal is to keep the forms up to date, without manually changing the link every single time.
Google Workspace PDF Export Info

Related

How to modify an old joomla website to remove a dangerous link flagged by google

A client told me his old website running on Joomla was flagged by google for having links to a malicious website. The website was blocked with the typical red security warning in google Chrome. I redirected the website to a temp page, but my client wants to bring back the old website while we work on something new.
However, my local machine and server are running Windows Server. I have the original files of the website and database. Is there a quick way I could remove the links (the google tool only mentions the website "mosaictriad.com") from the Joomla page from my machine? I've tried doing a crtl+f for mosaictriad.com in the sql file but didn't find anything.
Thanks for your opinion on what I should do next, the objective is simply to quickly clear the website from the security warning and send it back to the people managing his old server.
PS i don't have direct access to his server, only the files associated with his joomla website.
Additional details given my google:
Some pages on this website redirect visitors to dangerous websites that install malware on visitors' computers, including: mosaictriad.com.
Dangerous websites have been sending visitors to this website, including: navis.be and umblr.com.
Yes there is a way. You need to register in google webmaster tools. Register your site. Add the sitelinks. Ask google to rescan your website. They will remove it within 24 hours if scan result is negative for malwares.
Running the virus scanner on your local machine over the files may be able to detect some malicious files.
Alternatively, restore the website to a temporary folder on the web and use a commercial scanning service to help identify and clean the website. I use and recommend myjoomla.com but there are other services such as sucuri.net.
I think your strategy is wrong - you should quickly cleanup the website (try overwriting the core files with files from a fresh Joomla install) and you should then secure the website. Once you do that, you should contact Google through the Webmaster tools for a reconsideration request (this typically takes a few days to process if it's the first offense). Once Google approves your reconsideration request, then the red flag should be removed and the website should be accessible by everyone.

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.

Google Site: list template + local spreadsheet/database

I am building a couple of "list" (based on the page template) pages on a google site. This is all great. The thing though is that I want to have a local copy (spreadsheet) as a backup or for offline use.
My first question is: can I somehow download the list as a spreadsheet?
Moreover, it would be much better if I could use the nice functionality of the list template (i.e; one simple form to enter all data for an entry; I already use this in my list template, including drop down lists, as well as the ability to sort by columns!) and at the same time be able to download a cope of the list or have it in my Drive.
Is that possible? and how?
thanks
Yes you can...sort off. It is possible to do some basic web scraping in Google Sheets with the functions:
IMPORTHTML
IMPORTXML
Between the two, IMPORTXML works well to get specific data while IMPORTHTML is perfect for grabbing tables Using Google Sheets as a basic web scraper.
From there you can download the Google Sheets with the list and keep a copy in your Google Drive normally an even export it as a PDF or excel file.

getting google plus profile information to be shown for every user logging into my site

can this be done anyhow ? I want to show every user , his google profile info ,or at least , create a profile widget for him on his home page .
Also , is it be possible to get the number of profiles with the highest followers in google plus , periodically,so that I can showcase that in my website ?
Google doesn't have an official API for the Google Plus product yet. You can sign up for a list to get the info as soon as it's available here:
https://services.google.com/fb/forms/plusdevelopers/
There are several "unofficial" api libraries you can try to use, but they're not likely to work very well as google plus is in beta, and is likely to keep changing without supporting unofficial libraries
This answer is for the top users part of the question.
There are several unofficial projects are existing that can get information out of google+
Dotnet.GooglePlus is my own that is written in .NET, but there are java and PHP implementations as well.
The other option is to try scrape a site like http://socialstatistics.com/ for top users.

Google in-page analytics doesn't work in my ASP.NET MVC 3 Razor website

We've recently launched a new website http://atlascode.com and since the launch I've been unable to get in-page analytics working on the website. Google also claims that my tracking code is not working but I think this is a misnomer.
Whenever I attempt to load in-page analytics I receive the error:
We've identified problems in your setup. These may cause problems loading In-Page Analytics.
Your site doesn't load ga.js from Google.
If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes.
We didn't find a tracking snippet on your site. In-Page Analytics cannot load. Please make sure you have tracking installed correctly. If your snippet is included in a separate JavaScript file, you'll have to manually check it is being loaded correctly.
-ENDS-
I've simply copy and pasted the tracking code on to the website and haven't done anything out of the ordinary. I've also checked to make sure that under Web Property Settings my Web property name and default URL is atlascode.com.
Any ideas you guys have really would be welcomed.
EDIT: Added screenshot of Google Analytics error http://min.us/mdqlrhj
Thanks in advance
Simon
Well there's whole buncha people in the web complaining about the same issue.
I've noticed something funny.
Most of developers love to exclude Analytics tracking code for logged in administrators and trying to check out In-Page Analytics while they're logged in. So there's really no any ga.js.
In my experience, this occurred when I hadn't set my default URL to exactly match the URL set in the profile.
Matt
P.S. Someone beat me to your source!
Got the same problem on Magento Enterprise, but solution was pretty simple: GA code just need to be placed before <head> tags. After this simple fix In-Page tracking works perfectly.
Update
Also, be sure you have no framekiller installed in your site.

Resources