i have a plan to create my own blog use couch. any suggest or idea how to create "about author" based on G+ Profile ?
cheesypoof wrote: I'm not quite sure I understand what you wish to accomplish. When you say "based on G+ Profile" - what does that mean exactly? Screenshots are always very helpful too.
<cms:template clonable='1' executable='0' title='Authors'>
<cms:editable crop='1' height='120' name='author_picture' show_preview='1' type='image' width='120'/>
<cms:editable name='author_about' type='richtext'/>
</cms:template>
<cms:template clonable='1' dynamic_folders='1' title='Blog'>
<cms:editable has='one' masterpage='authors.php' name='blog_author' type='relation'/>
</cms:template>
<cms:if k_is_page>
<cms:related_pages 'blog_author'>
<img alt="<cms:show k_page_title/>" src="<cms:show author_picture/>"/>
<h3>Written by <strong><cms:show k_page_title/></strong></h3>
<cms:show author_about/>
</cms:related_pages>
</cms:if>
cheesypoof wrote: I'm still not understanding how pulling information from Google Plus to fill in the "About Author" section below each post would make things more convenient. How many blog authors do you have?
A Couch solution for creating similar functionality isn't too difficult.
authors.php
- Code: Select all
<cms:template clonable='1' executable='0' title='Authors'>
<cms:editable crop='1' height='120' name='author_picture' show_preview='1' type='image' width='120'/>
<cms:editable name='author_about' type='richtext'/>
</cms:template>
blog.php
- Code: Select all
<cms:template clonable='1' dynamic_folders='1' title='Blog'>
<cms:editable has='one' masterpage='authors.php' name='blog_author' type='relation'/>
</cms:template>
<cms:if k_is_page>
<cms:related_pages 'blog_author'>
<img alt="<cms:show k_page_title/>" src="<cms:show author_picture/>"/>
<h3>Written by <strong><cms:show k_page_title/></strong></h3>
<cms:show author_about/>
</cms:related_pages>
</cms:if>
Let me know if this made sense and I understood what you are trying to do.
Tomarnst wrote: Hi,
I suppose here https://developers.google.com/+/web/badge/ is the info you need for your project.