Page 5 of 8

Posted: Mon Sep 26, 2005 7:02 pm
by Operator
Yeah, that fixed it. Normally it should automatically be a thumb.
Still the thumbnail doesn't show. Are the paths I showed on the screenshot correct?
The "Umlaut"-problem has to be caused by the plugin. As soon as I remove it all characters are back again. :?



Mark

GImage plugin - Content-Type

Posted: Mon Sep 26, 2005 8:38 pm
by bpkri
Well I took a look at the sources and thought maybe I'd see something.

However it wasn't so easy. Something seems to get the header stuck at Content-Type:text/html where it should be text/xml, and only if the GImage plugin works and the call to the feed is made via /feeds/... or respectively via index.php?url=/feeds/...

I see that rss.php sets the right Content-Type.
And I see that everything works allright when the plugin doesn't work.

Now there are two questions in my mind:
The headers: are they overwritten? I mean: If at one point Content-Type:text/xml is set, and at another point this header is set again, which one counts? First come, first served, and later ones are ignored, or...?

Maybe this doesn't actually happen inside s9y and the plugin, but in the gallery's embed.php or something like that?... But then again, that would probably also cause it to happen when calling rss.php - unless things are handled different then. I don't know at which places the plugin actually gets moving, and what happens before and after... it's all a bit hard to tell.
Umm... probably I am talking bullshit here. Please forgive me, if I do.

But if things were easy, it would be boring, wouldn't it? ;)

Posted: Tue Sep 27, 2005 2:29 am
by MeToo
I would like to see this also:
Wizard wrote:How about a plugin for RSS feeds similar to the one that Sebastian Nohn wrote for the Administrative screen.
Display RSS-Feed in Backend Overview
Displays a RSS feed on the overview page (right after login) to the administration interface
Author: Sebastian Nohn; version: 1.0
This could show up as an entry plugin right before entries or user definable. Probably you would want it to show only in the home page, not categories or static entries.

Posted: Tue Sep 27, 2005 3:32 am
by Operator
I think found the problem why the thumbs are not displayed in my articles. The image URL of the thumb is "http://localhost/plugin/g2wrapper?album ... size=thumb"

Is that the correct path? "localhost/plugin" looks pretty wrong to me. I know that you rewrote it somehow, but shouldn't this point to something else?

Thanks your help in advance! If this is fixed there is only the "umlaut"-problem left :)


Mark

Posted: Tue Sep 27, 2005 11:17 am
by MySchizoBuddy
I want a karma sister plugin. Ability to rate comments.
and improvement to karma as well. that ++ -- thingy is no good.
something like the one www.digg.com has will be cool :)

Posted: Tue Sep 27, 2005 3:03 pm
by dma147
Operator wrote:I think found the problem why the thumbs are not displayed in my articles. The image URL of the thumb is "http://localhost/plugin/g2wrapper?album ... size=thumb"

Is that the correct path? "localhost/plugin" looks pretty wrong to me. I know that you rewrote it somehow, but shouldn't this point to something else?

Thanks your help in advance! If this is fixed there is only the "umlaut"-problem left :)

Mark
You have to activate the url-rewriting.
Administration -> Configuration -> Appearance and Options -> URL Rewriting

Posted: Tue Sep 27, 2005 3:27 pm
by dma147
oxygenws wrote:i thought about a "full backup" solution.....
if you agree, inform me to explain more about my plans :)
Okay, this is also finished and released now too:
http://blog.linux-stats.org/archives/40 ... eased.html

I'm nearly sure, that this doesn't work with postgresql yet. Please give me bugreport about this!

Posted: Tue Sep 27, 2005 5:52 pm
by Guest
dma147 wrote:
Operator wrote:I think found the problem why the thumbs are not displayed in my articles. The image URL of the thumb is "http://localhost/plugin/g2wrapper?album ... size=thumb"

Is that the correct path? "localhost/plugin" looks pretty wrong to me. I know that you rewrote it somehow, but shouldn't this point to something else?

Thanks your help in advance! If this is fixed there is only the "umlaut"-problem left :)

Mark
You have to activate the url-rewriting.
Administration -> Configuration -> Appearance and Options -> URL Rewriting
URL rewriting is activated. And the sunflower.thumb.jpg is present in the /tmp directory. Still doesn't show up in the article.
Any other idea?


Mark

Posted: Tue Sep 27, 2005 7:05 pm
by dma147
@Mark:
is that your own homemade server? what webserver is there running? The plugin uses $serendipity['serendipityBaseURL'] to get the host base url, so it is using the s9y made variables.

If your webserver (and the systems hostname/domainname) is set up poperly, it should work.

GImage-plugin, wrong Content-Type workaround

Posted: Tue Sep 27, 2005 8:27 pm
by bpkri
regarding the GalleryImage plugin and problems with the Content-Type:

Okay, I got a dirty workaround.
Maybe this breaks some stuff, but I had the feeling that somewhere the header information regarding the Content-Type is set to something else.

So I just went forth and edited the rss.php, moving the header line to the very end of the code.
Now it works. Dirty workaround, as I said.

Re: GImage-plugin, wrong Content-Type workaround

Posted: Tue Sep 27, 2005 8:56 pm
by dma147
bpkri wrote:Okay, I got a dorty workaround.
Maybe this breaks some stuff, but I had the feeling that somewhere the header information regarding the Content-Type is set to something else.

So I just went forth and edited the rss.php, moving the header line to the very end of the code.
Now it works. Dirty workaround, as I said.
Would you please be so kind to post a detailed bugreport to the bug-forum?

Please explain everything there. And also write, that the galleryimage-plugin doesn't set any headers, except the one for the <img> tag, which is called through an external_plugin, but this shouldn't change the whole content-type of the feed.

Then we can take more advantege on this and I can ask Garvin or other developers what this may cause...

Posted: Tue Sep 27, 2005 10:58 pm
by dma147
Anonymous wrote:
dma147 wrote:
Operator wrote:I think found the problem why the thumbs are not displayed in my articles. The image URL of the thumb is "http://localhost/plugin/g2wrapper?album ... size=thumb"

Is that the correct path? "localhost/plugin" looks pretty wrong to me. I know that you rewrote it somehow, but shouldn't this point to something else?

Thanks your help in advance! If this is fixed there is only the "umlaut"-problem left :)

Mark
You have to activate the url-rewriting.
Administration -> Configuration -> Appearance and Options -> URL Rewriting
URL rewriting is activated. And the sunflower.thumb.jpg is present in the /tmp directory. Still doesn't show up in the article.
Any other idea?


Mark
Okay, Garvin had a look over the plugins code and corrected some minor thing like this url-problem.
This should work now for you too. ;)

MP3 Plugin

Posted: Wed Sep 28, 2005 12:21 am
by Wizard
How about a plugin that allows you to upload mp3 songs and play them from your media library from a sidebar plugin? The end user should have the ability to turn it off/on, switch songs, volume control, etc...

Posted: Wed Sep 28, 2005 3:37 am
by Operator
Yeehaww, that new code really fixed the thumb-problem. Thanks dma and Garvin :D

Now there is only 1 thing left, the missing (umlaut) characters :lol:
But I'm confident that you'll find the issue and a solution for it :wink:

Mark

Posted: Wed Sep 28, 2005 11:43 am
by dma147
@Operator:
Since we both can not reproduce this issue with the Umlauts, we can not do anything about this. :(
All Umlauts and other special characters are shown as they should be.