Abinoam Jr
Docblox: automatic documentation generator
(Just in case somebody has not noticed)... @Alexander has added docblox support to our source tree.
First commit was: Enabled automated doc building.

The idea is everybody willing the parsed/generated documentation should run docblox on its own clone of the repo.
(Not commiting the generated documentation into the master repo).

I've run it on my ubuntu desktop (not on my server [dreamhost]account).

Basically what i did was (in a step-by-step):
sudo apt-get install graphviz
sudo apt-get install php5-xsl
sudo apt-get install php-pear
sudo pear channel-discover pear.phing.info
sudo pear install phing/phing
sudo pear channel-discover pear.docblox-project.org
sudo pear install docblox/DocBlox
sudo pear install docblox/DocBlox_Template_abstract



changed dir into my friendica local clone and runned docblox without command-line arguments.
The doc index.html was generated inside the friendica/data/output.

Imagem/foto

The docblox documentation: http://docs.docblox-project.org/

#docblox #documentation #dev
3 comentários exibir mais
Abinoam Jr
The code for that was:


/**
* Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
*
* The author's most recent status will be returned inline.
*
* Reference: <http://developer.twitter.com/doc/get/users/show>
*
* @api
*
* @param App Friendica App Class
* @param string Type of feed ("atom"|"rss"|"xml"|"json")
*
* @return string User template
*
*/
function api_users_show(&$a, $type){
$user_info = api_get_user($a);
Abinoam Jr
@Simon L'nu as I study the friendica code I'll try to adapt the comments or add new ones so that the docblox could generate something worth of it.
Abinoam Jr
Deprecated: Call-time pass-by-reference has been deprecated in /home/abinoam/amigos.tl1n.com/include/html2bbcode.php on line 13

#bug @Michael Vogel
Abinoam Jr
Testing thread
Hi Simon,

Test it here!

Just answer to "begin to follow" the post.

After that, every people replying here will have a notification mail threaded together.
4 comentários exibir mais
Abinoam Jr
Hey guy, My wife didn't like the hearts!!! (kidding).

Good to hear that it worked well.
Abinoam Jr
If anybody else "engage" on this post, you'll see that their email will be chained on your mutt.

Here is night, so good night!

And thanks for helping with the tests.
Abinoam Jr
Comment Notifications by Email - Threading Them
Hi Mike (and All),

Here's the screenshot of Mozilla Thunderbird.

Imagem/foto

I issued a pull request for you to have a look at the code.
5 comentários exibir mais
Abinoam Jr
git pulled and testing.
Tobias
[Friendica:Notify] Comment to conversation #77421 by Tony Baldwin

looks very good - thanks :-) And the threading starts to work now too after I ctrl+T'ed in the friendika-notifications folder :headdesk
Abinoam Jr
Test
Could two or three different people answer to this message?

Just a (feature) test! Thanks.
4 comentários exibir mais
Abinoam Jr
Thanks!
fabdo dostmusik
comment number 4 :-D
Abinoam Jr
Test
Testing, Sorry for that!

Can you just reply with test ok!?
4 comentários exibir mais
Abinoam Jr
No... I'm testing a "feature" on my side. All the rest is ok! :-)
Abinoam Jr
No... I'm testing a "feature" on my side. All the rest is ok! :-)
Abinoam Jr
Abinoam Jr agora é amigo de David Benfell


Imagem/foto
Abinoam Jr
Abinoam Jr agora é amigo de Thomas Bierey


Imagem/foto
Abinoam Jr
Abinoam Jr agora é amigo de Manuel Pérez


Imagem/foto
Abinoam Jr
Abinoam Jr agora é amigo de Simon L'nu


Imagem/foto
Abinoam Jr
BB Code
Improving your post style
[Note: Experimental feature!]



Friendica has support for BB Code.
Here is a list of the currently supported ones.

  • [b]bold[/b] - bold
  • [i]italic[/i] - italic
  • [u]underlined[/u] - underlined
  • [s]strike[/s] - strike
  • [color= red]red[/color] - red
  • [url=http://www.friendica.com]Friendica[/url] - Friendica
  • [img]http://friendica.com/sites/default/files/friendika-32.png[/img] - Image/photo
  • [code]code[/code] - Y29kZQ==
  • [quote]quote[/quote] - 
    quote
  • [quote=Author]Author? Me? No, no, no...[/quote] - 
    Author wrote:
    Author? Me? No, no, no...
  • [noparse], [nobb] and [pre] are used to escape bbcode.

 
You can make lists with:
  • [list]
  • [list=1]
  • [list=i]
  • [list=I] 
  • [list=a]
  • [list=A] 
  • [ul]
  • [ol]
For example:
[ul]
[*] First list element
[*] Second list element
[/ul]

Will render something like: 
  • First list element
  • Second list element

 
There's also:
  • [hr]
  • [video]
  • [table]
  • [th]
  • [td]
  • [tr]
  • [center]


Tables? Yes!

[table border=1]
[tr]
[th]Tables now[/th]
[/tr]
[tr]
[td]Have headers[/td]
[/tr]
[/table]

Tables now
Have headers

All sizes,
From the [size=xx-small] - xx-small.
To the [size=xx-large] - xx-large.
To fit exactly 20px use [size=20].

Enjoy them!

PS: For a better experience with BB Codes, disable RichText mode with the Editplain plugin.
7 comentários exibir mais
Abinoam Jr
Thanks Tobias! \o/
Abinoam Jr
@Tobias Diekershoff, I edited the post.
Abinoam Jr
Abinoam Jr agora é amigo de Johannes Paechnatz


Imagem/foto
Abinoam Jr
Abinoam Jr agora é amigo de Tim Schlotfeldt


Imagem/foto
Abinoam Jr
Imagem/foto
Abinoam Jr
Abinoam Jr
DreamHost Friendica Install Guide
I recently installed a Friendica test setup on DreamHost and took the time to take screenshots of the steps taken. My main motivation is to see that people with not too much informatics expertise can manage to install apps like MediaWiki using the OneClick Install of DreamHost, so, why not install Friendica in a step-by-step fashion if a good guide is provided. 

Please let me know if you all like it (or not).
And, native english speakers, please correct the language over there.

Github:
DreamHost Friendica Install Guide - GitHub
(friendica)



Now you should choose your domain (or sub-domain).
It has to be a previous registered one (or a sub-domain of it) or a new one.
Note that, for new domains DreamHost fees may apply.
And, as always, new domains take a day or two to propagate through ...

#dreamhost #install #friendica
Abinoam Jr
Thanks Martin.
Abinoam Jr
@Manuel Pérez, you don't only can! You should do it!
Abinoam Jr
Abinoam Jr. agora é amigo de fabdo dostmusik


Imagem/foto
David Benfell
I'll have to give this a try.
Fred
Eu ri muito. :-) Acho que vou tentar isso também.
mais recente antigo