Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
docs:bbcode [2022-06-07 08:27] – [Prevent parsing of posting parts] Tobias | docs:bbcode [2022-06-07 11:52] – [Abstract for longer posts] Tobias | ||
---|---|---|---|
Line 43: | Line 43: | ||
==== Links ==== | ==== Links ==== | ||
- | <table class=" | + | ^ Purpose |
- | < | + | | Set a link to a page on the internet | '' |
- | < | + | | Use some text as label for the link | '' |
- | < | + | | Add a relative |
- | </ | + | | Set a hashtag((which is a shortcut to the local search for the given term)) | '' |
- | < | + | | Mention one of your contacts or a participant in the current discussion | @Mention |
- | < | + | | Explicitely mention |
- | < | + | | Set an email link | '' |
- | </ | + | | Use some text as label for the email link | '' |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | #^[url]http:// | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | < | + | |
- | #^[url=http:// | + | |
- | # | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>[url=/ | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>#Friendica</td> | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>@Mention</td> | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>acct: | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>[mail]user@mail.example.com[/ | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td>[mail=user@mail.example.com]Send an email to User[/mail]</ | + | |
- | < | + | |
- | </ | + | |
- | </ | + | |
==== Blocks ==== | ==== Blocks ==== | ||
Line 337: | Line 297: | ||
But it can be useful to define a custom abstract that will only be displayed on the external network. | But it can be useful to define a custom abstract that will only be displayed on the external network. | ||
This is done with the [abstract]-element. | This is done with the [abstract]-element. | ||
- | <table class=" | + | |
- | <tr> | + | <code> |
- | < | + | [abstract]Totally interesting! A must-see! Please click the link![/ |
- | < | + | I want to tell you a really boring story that you really never wanted to hear. |
- | </ | + | </code> |
- | < | + | |
- | <td>[abstract]Totally interesting! A must-see! Please click the link![/ | + | Twitter would display the text |
- | I want to tell you a really boring story that you really never wanted to hear.</td> | + | |
- | < | + | > Totally interesting! A must-see! Please click the link! |
- | On Friendica you would only see the text after < | + | |
- | </ | + | On Friendica you would only see the text after |
- | </ | + | |
+ | > I want to tell you a really ... | ||
It is even possible to define abstracts for separate networks: | It is even possible to define abstracts for separate networks: | ||
- | <table class=" | + | <code> |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td> | + | |
[abstract]Hi friends Here are my newest pictures![/ | [abstract]Hi friends Here are my newest pictures![/ | ||
[abstract=twit]Hi my dear Twitter followers. Do you want to see my new | [abstract=twit]Hi my dear Twitter followers. Do you want to see my new | ||
Line 364: | Line 319: | ||
[abstract=apdn]Helly my dear followers on ADN. I made sone new pictures | [abstract=apdn]Helly my dear followers on ADN. I made sone new pictures | ||
that I wanted to share with you.[/ | that I wanted to share with you.[/ | ||
- | Today I was in the woods and took some real cool pictures ...</td> | + | Today I was in the woods and took some real cool pictures ... |
- | < | + | </code> |
- | For other networks (e.g. when you are using the " | + | |
- | </ | + | For Twitter and App.net the system will use the defined abstracts. |
- | </ | + | |
+ | For other networks (e.g. when you are using the " | ||
If you use (for example) the " | If you use (for example) the " | ||
Line 376: | Line 332: | ||
Instead you have to name the explicit network: | Instead you have to name the explicit network: | ||
- | <table class=" | + | <code> |
- | < | + | [abstract]These days I had a strange encounter...[/ |
- | < | + | |
- | < | + | |
- | </ | + | |
- | < | + | |
- | <td> | + | |
- | [abstract]These days I had a strange encounter...[/ | + | |
[abstract=goog]Hello my dear Google+ followers. You have to read my newest blog post![/ | [abstract=goog]Hello my dear Google+ followers. You have to read my newest blog post![/ | ||
[abstract=face]Hello my Facebook friends. These days happened something really cool.[/ | [abstract=face]Hello my Facebook friends. These days happened something really cool.[/ | ||
- | While taking pictures in the woods I had a really strange encounter...</ | + | While taking pictures in the woods I had a really strange encounter... |
- | < | + | </code> |
- | <br>Meanwhile, Friendica | + | |
- | </ | + | Google and Facebook will show the respective abstracts while the other networks will show the default one. Meanwhile, Friendica |
- | </ | + | |
The [abstract] element is not working with connectors where we post HTML directly, like Tumblr, Wordpress or Pump.io. | The [abstract] element is not working with connectors where we post HTML directly, like Tumblr, Wordpress or Pump.io. |