Showing posts with label google docs. Show all posts
Showing posts with label google docs. Show all posts


You can embed a group into your website by using an iFrame and specifying the group's URL.


Setting Up iFrame
To embed a group in an external web page, copy and paste the following iFrame HTML into the web page's HTML source (make sure to change forum-name to your group name:



<iframe id="forum_embed"
 src="javascript:void(0)"
 scrolling="no"
 frameborder="0"
 width="900"
 height="700">
</iframe>

<script type="text/javascript">
 document.getElementById("forum_embed").src =
  "https://groups.google.com/forum/embed/?place=forum/forum-name" +
  "&showsearch=true&showpopout=true&parenturl=" +
  encodeURIComponent(window.location.href);
</script>
In the above example, you would want to change forum-name to the name of the group you want to pull into the iFrame. In addition, if you are pulling a group from a Google Apps domain (a site owned by an organization or a company), you will have to add a parameter at the end of the URL:
&domain=yourdomain.com
In the above example, you would replace yourdomain.com with the domain name for your group.

Customizing the display of your group

You can use other URL parameters to change the behavior of your iFrame and the display of your group:
  • showsearch: true if you want to show a search box, false if you don't want the box to show
  • showtabs: true if you want to show the view selector tabs, false if you don't want to show tabs
  • theme: A value of default will use the default Google Discussions Forum theme instead of the monochrome embedded theme
  • hideforumtitle: true if you want to show the forum title and description, falseif you don't want to show the title or description
  • hidesubject: true if you want to hide the subject of the last post in My Forums view, false if you want to leave the subject visible
  • hl: The default language for the forum (if left out, Google will try to detect the user's chosen language)
  • fragments: true if you want to use fragments instead of query parameters for permalinks (for example, http://parenturl.com/path#forum instead ofhttp://parenturl.com/path?place=forum), false if you want to use query parameters
  • parenturl: The URL of the page embedding the iFrame (used to generate permalinks)
You can string together these parameters by separating them with an ampersand, &. For example, if you wanted to have an iFrame with a forum that showed the popout icons and had the Google Discussions Forum theme, your URL might be:
https://groups.google.com/forum/embed/?place=forum/forum-name&domain=yourdomain.com&showpopout=true&theme=default

Insert forum into a webpage | Google Group


You can embed a group into your website by using an iFrame and specifying the group's URL.


Setting Up iFrame
To embed a group in an external web page, copy and paste the following iFrame HTML into the web page's HTML source (make sure to change forum-name to your group name:



<iframe id="forum_embed"
 src="javascript:void(0)"
 scrolling="no"
 frameborder="0"
 width="900"
 height="700">
</iframe>

<script type="text/javascript">
 document.getElementById("forum_embed").src =
  "https://groups.google.com/forum/embed/?place=forum/forum-name" +
  "&showsearch=true&showpopout=true&parenturl=" +
  encodeURIComponent(window.location.href);
</script>
In the above example, you would want to change forum-name to the name of the group you want to pull into the iFrame. In addition, if you are pulling a group from a Google Apps domain (a site owned by an organization or a company), you will have to add a parameter at the end of the URL:
&domain=yourdomain.com
In the above example, you would replace yourdomain.com with the domain name for your group.

Customizing the display of your group

You can use other URL parameters to change the behavior of your iFrame and the display of your group:
  • showsearch: true if you want to show a search box, false if you don't want the box to show
  • showtabs: true if you want to show the view selector tabs, false if you don't want to show tabs
  • theme: A value of default will use the default Google Discussions Forum theme instead of the monochrome embedded theme
  • hideforumtitle: true if you want to show the forum title and description, falseif you don't want to show the title or description
  • hidesubject: true if you want to hide the subject of the last post in My Forums view, false if you want to leave the subject visible
  • hl: The default language for the forum (if left out, Google will try to detect the user's chosen language)
  • fragments: true if you want to use fragments instead of query parameters for permalinks (for example, http://parenturl.com/path#forum instead ofhttp://parenturl.com/path?place=forum), false if you want to use query parameters
  • parenturl: The URL of the page embedding the iFrame (used to generate permalinks)
You can string together these parameters by separating them with an ampersand, &. For example, if you wanted to have an iFrame with a forum that showed the popout icons and had the Google Discussions Forum theme, your URL might be:
https://groups.google.com/forum/embed/?place=forum/forum-name&domain=yourdomain.com&showpopout=true&theme=default
Blogger: Deh Gel

I have found two concepts embedding PDF file from Google Drive. First, a normal embedding from Google Drive that having a slide at left side. Second, embedding PDF file from Google Drive by removing slide at left side. Now, here are the steps:

First concetp:
  1. Go to drive.google.com
  2. Locate the PDF file and open it 
  3. You will see at the righ-bottom "Open", "Share", and "Download". Click the ARROW at "Open" button
  4. Click "Open Google Drive Viewer"
  5. Click "File"
  6. Click "Embed this PDF file"
  7. Copy the code shown
  8. Paste to your website/blogger/wordpress/etc html/css editor.
Second concept:
  1. Go to drive.google.com
  2. Locate the PDF file
  3. Right click PDF File
  4. Click details
  5. Below "HOSTING", click the link
  6. Copy the code in the address bar
  7. Paste to your website/blogger/wordpress/etc html/css editor.
  8. Now, change the ff:
<iframe src="https://docs.google.com/file/d/0B6qyFCWE86h_aHlIY0UxM0RiMlE/preview" width="100%" height="800"></iframe>

to like this:

<iframe src="https://googledrive.com/host/0B6qyFCWE86h_ajZidnBfeXRneVk/GPH-Test%20Test%20Test.pdf" width="100%" height="800"></iframe>

Thank you for reading and viewing it.

Embed PDF file from Google Drive

Blogger: Deh Gel

I have found two concepts embedding PDF file from Google Drive. First, a normal embedding from Google Drive that having a slide at left side. Second, embedding PDF file from Google Drive by removing slide at left side. Now, here are the steps:

First concetp:
  1. Go to drive.google.com
  2. Locate the PDF file and open it 
  3. You will see at the righ-bottom "Open", "Share", and "Download". Click the ARROW at "Open" button
  4. Click "Open Google Drive Viewer"
  5. Click "File"
  6. Click "Embed this PDF file"
  7. Copy the code shown
  8. Paste to your website/blogger/wordpress/etc html/css editor.
Second concept:
  1. Go to drive.google.com
  2. Locate the PDF file
  3. Right click PDF File
  4. Click details
  5. Below "HOSTING", click the link
  6. Copy the code in the address bar
  7. Paste to your website/blogger/wordpress/etc html/css editor.
  8. Now, change the ff:
<iframe src="https://docs.google.com/file/d/0B6qyFCWE86h_aHlIY0UxM0RiMlE/preview" width="100%" height="800"></iframe>

to like this:

<iframe src="https://googledrive.com/host/0B6qyFCWE86h_ajZidnBfeXRneVk/GPH-Test%20Test%20Test.pdf" width="100%" height="800"></iframe>

Thank you for reading and viewing it.