Forum for discussing general topics related to Couch.
7 posts Page 1 of 1
i have a plan to create my own blog use couch. any suggest or idea how to create "about author" based on G+ Profile ?
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
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.
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.


thx for your respone cheesy ;)

well ok chees, i will try to provide some screenshot :

Image

well i hope you got what i mean, and this is the g+ of Chriss Spooner

so, i have a plan to make a blog that have "About Author Section" based on g+ profile. IE, grab the profile picture, etc.
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
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.
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.


thx for replying cheesy. my plan is 4 authors. actually i already did the code before i post here, almost same like yours. and it work. i just wanna know if there any way to get info from g+ profile, so we can just put the g+ link, and it auto fetch. but its ok, maybe i will use your code. thx again for replying cheesy.
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
Hi,

I suppose here https://developers.google.com/+/web/badge/ is the info you need for your project.
I load frameworks and write bugs on top of them, after that I rearrange the code so that it looks like a cool product.
Tomarnst wrote: Hi,

I suppose here https://developers.google.com/+/web/badge/ is the info you need for your project.


:lol: hellow tomarnst, thx for your suggestion. perfect :lol: this is what i need
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
7 posts Page 1 of 1
cron