jariolaine / apex-blog

Blog application built using Oracle Application Express (APEX)
MIT License
24 stars 8 forks source link

RSS as "raw XML" #11

Closed scl-4711 closed 11 months ago

scl-4711 commented 1 year ago

Hi Jari, I tried to register my blog for the APEX Developer Blogs from Jon Dixon.

He needs "raw XML" like the following: hartenfeller.dev/orclapex-rss.xml

Is it possible that you implement this in the blog? Maybe as alternative XML ?

Kind regards Steffen

jariolaine commented 1 year ago

Thanks. I will check this.

jariolaine commented 1 year ago

Do you have more information how RSS should be changed? If you open your blog RSS in Chrome browser, and then press CTRL+U you can see raw XML. By default RSS feed displays like HTML page in browser because XSL style sheet included. Is that the problem?

jariolaine commented 1 year ago

You can also try online RSS validators for your blog RSS https://validator.w3.org/feed/ https://www.rssboard.org/rss-validator/

scl-4711 commented 1 year ago

No, Jon wrote he needs the raw mxl for adding the blog. Can you provide the URL without the XSL style sheet too?

jariolaine commented 1 year ago

Could you please ask him to explain what is wrong or tell exact error when there is XSL style sheet?

jariolaine commented 1 year ago

I will add RSS without XSL if that is the problem. But I think that isn't, because at least online RSS feed validators don't complain about that and RSS readers can read the feed without problem. I can also query generated RSS in database without any problem. If Jonathan could join this discussion and explain more details it would be very helpful.

scl-4711 commented 12 months ago

I wrote him per email and asked him to join here at git.

jon-dixon commented 12 months ago

Hi. My code can see the posts, the issue is that the RSS does not contain the content of the Post i.e. the "description" tag. using https://hartenfeller.dev/orclapex-rss.xml as an example, it includes the post content in the description field, whereas https://asc.web-republic.de/ords/r/sc/blog/pgm?request=application_process%3Drss.xml does not.

image
jariolaine commented 12 months ago

Thank you very much @jon-dixon .

I have made change. Could you please check my blog rss https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Drss.xml?

There is element content:encoded like RSS found in https://fuzziebrain.com/content/rss.xml. I'm also working on atom feed like XML, if that's more suitable.

jon-dixon commented 12 months ago

Hi Jari,

I see a description tag, but it does not contain the entire content of the post. My code filters out blog posts that are less than 100 characters in length. If it is possible to include the entire post content then it should pull it in.

@.***

-- Kind Regards, Jon Dixon c: 330.310.0591 e: @.**@.> [signature_391406061]

From: Jari Laine @.> Date: Monday, November 13, 2023 at 6:20 PM To: jariolaine/apex-blog @.> Cc: Jonathan Dixon @.>, Mention @.> Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)

Thank you very much @jon-dixonhttps://github.com/jon-dixon .

I have made change. Could you please check my blog rss https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Drss.xml?

There is element content:encoded like RSS found in https://fuzziebrain.com/content/rss.xml. I'm also working on atom feed like XML, if that's more suitable.

— Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1808746650, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTU7IIYA3XVHLB2MG6LYEJQF5AVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYG42DMNRVGA. You are receiving this because you were mentioned.Message ID: @.***>

jariolaine commented 12 months ago

Thank you very much. I will do needed change.

jariolaine commented 12 months ago

@jon-dixon, could you please add my blog using this feed https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml

If it's ok I will publish release.

Thanks advance.

jon-dixon commented 11 months ago

Hi Jari,

That worked great; your last 25 posts have now been indexed. I used the URL from your Twitter Profile as your Profile Picture: https://pbs.twimg.com/profile_images/1650774737/picture_400x400.jpg

@.***

-- Kind Regards, Jon Dixon c: 330.310.0591 e: @.**@.> [signature_3634270884]

From: Jari Laine @.> Date: Friday, November 17, 2023 at 10:22 PM To: jariolaine/apex-blog @.> Cc: Jonathan Dixon @.>, Mention @.> Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)

@jon-dixonhttps://github.com/jon-dixon, could you please add my blog using this feed https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml

If it's ok I will publish release.

Thanks advance.

— Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817410449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTSTNOOJMMBRX3WRGX3YFBHYTAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGQYTANBUHE. You are receiving this because you were mentioned.Message ID: @.***>

jariolaine commented 11 months ago

Thank you very much @jon-dixon. And thank you @scl-4711 for raising this enhancement idea.

jon-dixon commented 11 months ago

Hi Jari,

Should I use this URL now for Steffen’s Blog? https://asc.web-republic.de/ords/r/sc/blog/pgm?request=application_process%3Datom.xml When I try it, I get no content back. @.***

When I try your blog’s URL https://cloud.jaris.fi/ords/r/jaris/blog/pgm?request=application_process%3Datom.xml

I get the following: @.***

-- Kind Regards, Jon Dixon c: 330.310.0591 e: @.**@.> [signature_987763448]

From: Jari Laine @.> Date: Saturday, November 18, 2023 at 10:12 PM To: jariolaine/apex-blog @.> Cc: Jonathan Dixon @.>, Mention @.> Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)

Thank you very much @jon-dixonhttps://github.com/jon-dixon. And thank you @scl-4711https://github.com/scl-4711 for raising this enhancement idea.

— Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817759945, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTWYSMB2ZYRWL22732TYFGPOHAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXG42TSOJUGU. You are receiving this because you were mentioned.Message ID: @.***>

jariolaine commented 11 months ago

Hi Jon, I think Steffen hasn't yet upgrade his blog. This is why atom feed URL isn't yet available on his blog.

scl-4711 commented 11 months ago

Hi together - yes, that's true, I have to upgrade first. Maybe tomorrow 😉

jon-dixon commented 11 months ago

No worries, just wanted to make sure I hadn’t missed something.

On Nov 19, 2023, at 8:17 AM, Steffen Clauß @.***> wrote:



Hi together - yes, that's true, I have to upgrade first. Maybe tomorrow 😉

— Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1817902146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTQPBCXHJKZ3K67LSHTYFIWKDAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXHEYDEMJUGY. You are receiving this because you were mentioned.Message ID: @.***>

scl-4711 commented 11 months ago

Ok, now I have updated my blog too...

jon-dixon commented 11 months ago

Excellent, I activated your blog, and your posts have some through.

@.***

-- Kind Regards, Jon Dixon c: 330.310.0591 e: @.**@.> [signature_2839503833]

From: Steffen Clauß @.> Date: Monday, November 20, 2023 at 3:14 AM To: jariolaine/apex-blog @.> Cc: Jonathan Dixon @.>, Mention @.> Subject: Re: [jariolaine/apex-blog] RSS as "raw XML" (Issue #11)

Ok, now I have updated my blog too...

— Reply to this email directly, view it on GitHubhttps://github.com/jariolaine/apex-blog/issues/11#issuecomment-1818850559, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZVWGTTK6PB2FRM7GBLIJ4DYFM3PPAVCNFSM6AAAAAA7HH7S6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYHA2TANJVHE. You are receiving this because you were mentioned.Message ID: @.***>