Quantcast
Channel: Add image from Files to description in RSS (using kirby3-feed)
Browsing all 13 articles
Browse latest View live

Add image from Files to description in RSS (using kirby3-feed)

I’ve added Bruno Meilick’s kirby3-feed plugin to my webcomic site using the Virtual Page configuration option, and it works great. I’m pulling the feed items directly from a collection that contains a...

View Article


Add image from Files to description in RSS (using kirby3-feed)

hi @Mike_Armstrong. the rss item description is generated based on the textfield option. for virtual pages you can extend your model to provide the text() method or create a new one like...

View Article


Add image from Files to description in RSS (using kirby3-feed)

Thanks for the advice. I’ve rolled my own solution for now, but will try and get this working at a later date. Read full topic

View Article

Add image from Files to description in RSS (using kirby3-feed)

@bnomei This is the best post related to what I’m looking to do (alter text field output in the feed), so I’m adding this here: With three main content areas in my site (with children), how do I have...

View Article

Image may be NSFW.
Clik here to view.

Add image from Files to description in RSS (using kirby3-feed)

I think a first step should be to create a custom collection for $allcontent. That way, you can easily pass this collection to the feed options. Please rename your variables. Dashes are not allowed in...

View Article


Add image from Files to description in RSS (using kirby3-feed)

Oh, thank you! Was just browsing other feed configuration solutions and noticed someone else was referencing Collections, which I haven’t made yet, so that might go a long way. (Ah, those were dummy...

View Article

Add image from Files to description in RSS (using kirby3-feed)

See the new screencast regarding collections: Collections Methods and models are no “Hexenwerk” either, nothing to be afraid of, even if @thewebprojects wanted to hide from them as well: Creating page...

View Article

Add image from Files to description in RSS (using kirby3-feed)

I’m trying to do this very same thing but am hitting a wall. I’m unsure how to combine the default text with the $page->file() in a format that the feed plugin wants (a field object, I guess?). My...

View Article


Add image from Files to description in RSS (using kirby3-feed)

What I’d do: public function rssDesc() { $image = Html::img($this->file()->url()); $text = $this->text()->kt(); return $image . $text; } This can of course be refined by passing an array...

View Article


Add image from Files to description in RSS (using kirby3-feed)

Very nice, I like how clean that is! Thank you! Unfortunately, it’s giving me the error: Call to a member function kirbytext() on string Is there a way to wrap that output in a “field object” or...

View Article

Add image from Files to description in RSS (using kirby3-feed)

Yes, you can return a field object public function rssDesc(): Field { $image = Html::img($this->file()->url()); $text = $this->text()->toBlocks(); return new Field($this, 'rssDesc', $image...

View Article

Image may be NSFW.
Clik here to view.

Add image from Files to description in RSS (using kirby3-feed)

Thank you! I just figured that out right as you posted that. This forum is such an awesome resource. I really appreciate your patience and explanations! Read full topic

View Article

Add image from Files to description in RSS (using kirby3-feed)

Note that you should check if an image exist to prevent errors. $image = $this->file() ? Html::img($image->url()) : ''; Read full topic

View Article

Browsing all 13 articles
Browse latest View live