Show Navigation
Notices by Sean Tilley (dsh@deadsuperhero.com), page 5
-
Currently the difference between the two modules (articles and cards) are very minor and it made sense to only have one common template to ease maintenance. If you feel they need to diverge, it's easy enough to branch a new template for articles.
Currently there is a PHP variable $selected_card (yes I know, same name in both modules). If that is set to something you're in single article view mode. The template currently doesn't care which view mode you're using, but you could pass this to the template and make decisions based on it.
You might save the next paragraph or two somewhere because it contains some important considerations for what you're trying to pull off.
The conversation() function knows about a thing called 'list' mode which uses a different "condensed" item template. You can set this for instance for your channel or network page or even pubstream pages on your site.
The problem is the variable we are using has three different values. 'traditional' or old-fashioned page=n use, 'client' or AJAX updates, and 'list' which is AJAX with the alternate template. (edit: there's also a page mode called 'preview', so there are four).
The problem is that articles and cards aren't ajax enabled. So you can't just turn on list mode and everything will just work. The list mode is currently assuming that ajax is in use. Converting these pages to an ajax loader will happen eventually but not today. It's a fair chunk of work. The easiest way I can see to get where you want to go is to create yet another page_mode variable which represents list mode but with the traditional page loader. This would be incredibly easy to pull off and would let you specify a list mode for these pages. No doubt you'll want to modify our ugly list-mode template but you would be doing that anyway.
-
!Hubzilla Development I'm finally digging into the Articles system to see what kinds of modifications I can make to it. As per usual, I have a few questions.
If I wanted to modify the elements inside of the article content, would I need to effectively override the markup template? I noticed that currently, articles use cards.tpl for get_markup_template
, I'm a little curious as to whether creating an articles.tpl at some point might make sense for article-specific customizations. I'm trying to figure out how to remove the view article / view summary
link.
Another thing I'd love to figure out is how to display different views depending on whether I'm looking at the article index, or the article display. I know that Hubzilla generally treats these two things as the same when it comes to posts / the stream, is there a sane way to separate the two? I think I want my index to be a grid of thumbnails and links, whereas the article display would be the full-length content. As a workaround, it might be possible to just create a plugin and set up a different index view at a different URL path, but that might be a bit of a hacky experience.
-
They should build it with #Tor support
no, would cause too much traffic, just as they don't like you to use bittorrent either.
solution would probably be a friend-to-friend connection mode like in #retroshare.
-
Worked around the issue by disabling SMTP for the time being. Still getting an error from WebSockets despite enabling them in Apache, but am able to upload and view videos.
-
I'm trying to spin up a node using Docker-Compose, but I keep getting an error about being unable to contact my SMTP server. I installed
netcat
into the container and verified that it can, in fact, be reached from within peertube. ☹️
-
I just wish they'd spend a bit more time helping us work through the federation issues.
They'd probably be completely willing to do so, right now it looks like they're mostly working on core foundation stuff. I do see an open issue for Hubzilla AP support; it probably wouldn't hurt to pipe up and let the creator know that people from Hubzilla want to follow PeerTube accounts.
-
They should build it with #Tor support, should be quite easy, but let's see how it continues.
-
is there an instance up anywhere that you might recommend trying?
also, is there anything about Peertube that you are more partial to in approach over Bitchute?
-
Do you have a link where they explain how to use it? I found the webpage but there is no option to create an account
-
Videos are stored in webtorrents and shared via ActivityPub. I just wish they'd spend a bit more time helping us work through the federation issues. The federated web isn't just Mastodon. [Edit: I keep forgetting, Diaspora folks can't see my comments. Never mind.]
-
what's the idea? how does it work?
-
Personally, I'm really stoked for this project, and I love that it's made so much progress so far.
PeerTube Releases v.1.0.0 Beta 1
PeerTube, the decentralized YouTube alternative, has just made a new milestone release. The project has come a long way, and already sports a vastly improved UI and federated comments.
#PeerTube #ActivityPub #Federation
-
"Come on, son," Dad says to me, "We're flying to England in the morning tomorrow, so we need to finish getting ready."
A chill runs down my spine as I realize that I don't have my passport, and have never had one.
-
@Phenethylamine
Basically it used it internally, but these interfaces were not exposed for a long time, meaning it only federated with OStatus networks. Now it does both, but you're right, it pretty much is a complete implementation of AP.
-
@dsh From my understanding it doesn't even "adapt" to ActivityPub like mastodon does. It IS ActivityPub through and through.
-
@dsh Wait what Pleroma is built on ActivityPub from the ground up, isn't it? How could it gain support for what it's literally built on?
-
Pleroma, a lightweight social server written in Elixir, gains ActivityPub support
Pleroma, the lightweight elixir-based social networking server, recently unveiled full support for the ActivityPub federation protocol. Stylish and lightweight, and it works with the most popular apps for Mastodon
#Mastodon #ActivityPub #Pleroma #Elixir
-
@antonlopez Agree, better download music and classic programs like gmusicbrowser :P