Skip to main content


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
sudo pear install phing/phing
sudo pear channel-discover
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.


The docblox documentation:

#docblox #documentation #dev

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: <>
* @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);

@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.

Deprecated: Call-time pass-by-reference has been deprecated in /home/abinoam/ on line 13

#bug @Michael Vogel


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.

Hey guy, My wife didn't like the hearts!!! (kidding).

Good to hear that it worked well.

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.


Comment Notifications by Email - Threading Them

Hi Mike (and All),

Here's the screenshot of Mozilla Thunderbird.


I issued a pull request for you to have a look at the code.

git pulled and testing.

[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



Could two or three different people answer to this message?

Just a (feature) test! Thanks.



Testing, Sorry for that!

Can you just reply with test ok!?

No... I'm testing a "feature" on my side. All the rest is ok! :-)

No... I'm testing a "feature" on my side. All the rest is ok! :-)

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=]Friendica[/url] - Friendica
  • [img][/img] - Image/photo
  • [code]code[/code] - Y29kZQ==
  • [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:
[*] First list element
[*] Second list element

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]
[th]Tables now[/th]
[td]Have headers[/td]

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.
Essa entrada foi editada (7 anos atrás)

Thanks Tobias! \o/


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.

DreamHost Friendica Install Guide - GitHub

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
Thanks Martin.

@Manuel Pérez, you don't only can! You should do it!

Essa entrada foi editada (7 anos atrás)
I'll have to give this a try.

Eu ri muito. :-) Acho que vou tentar isso também.