Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh list of entries #958

Open
barkyq opened this issue Feb 9, 2025 · 0 comments
Open

refresh list of entries #958

barkyq opened this issue Feb 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@barkyq
Copy link

barkyq commented Feb 9, 2025

1. Environment

  • Device: [Pixel 7]
  • OS: [Android 15]
  • APP: [0.11.1]

2. Describe the bug

I am testing with a local feed, and the app does not refresh when new entries are added.

I set-up the app and it correctly shows the two entries with the original feed:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">John Doe Blog</title>
  <updated>2025-02-09T17:38:42+01:00</updated>
  <id>urn:uuid:fbe283fe-6c1d-4f5e-b5e9-f1058952ab1c</id>
  <author>
    <name>John Doe</name>
    <uri>https://example.org</uri>
    <email>johndoe@example.org</email>
  </author>
  <category term="blog posts"/>
  <link href="https://vivobook.lan/feed.atom" rel="self" type="application/atom+xml"/>
  <rights type="text">Copyright (c) 2025, John Doe</rights>
  <generator uri="https://example.org/feed-generator" version="v0.0.1-alpha"/>
  <entry>
    <title type="text">TITLE 1</title>
    <updated>2025-02-09T17:38:42+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:59592fc2-0a7d-47fb-aceb-7d4a7bd6985b</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 1</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 2</title>
    <updated>2025-02-09T17:38:42+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14bcd</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 2</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
</feed>

Afterwards, I added a new third entry, and try to refresh the list, but it does not show up. The new feed is:

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">John Doe Blog</title>
  <updated>2025-02-09T17:40:26+01:00</updated>
  <id>urn:uuid:fbe283fe-6c1d-4f5e-b5e9-f1058952ab1c</id>
  <author>
    <name>John Doe</name>
    <uri>https://example.org</uri>
    <email>johndoe@example.org</email>
  </author>
  <category term="blog posts"/>
  <link href="https://vivobook.lan/feed.atom" rel="self" type="application/atom+xml"/>
  <rights type="text">Copyright (c) 2025, John Doe</rights>
  <generator uri="https://example.org/feed-generator" version="v0.0.1-alpha"/>
  <entry>
    <title type="text">TITLE 3</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:40:26+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14abc</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 3</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 1</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:59592fc2-0a7d-47fb-aceb-7d4a7bd6985b</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 1</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
  <entry>
    <title type="text">TITLE 2</title>
    <updated>2025-02-09T17:40:26+01:00</updated>
    <published>2025-02-09T17:13:07+01:00</published>
    <id>urn:uuid:ce2bcd3c-6a18-41ac-9f4f-4d5cd8c14bcd</id>
    <author>
      <name>John Doe</name>
      <uri>https://example.org</uri>
      <email>johndoe@example.org</email>
    </author>
    <category term="blog posts"/>
    <content type="html">BODY 2</content>
    <rights type="text">Copyright (c) 2025, John Doe</rights>
  </entry>
</feed>

However, when I "clear" the articles and then refresh, the third article does show up.

I do not know what I should do on the server (I have tried playing around with cache-control, and etags, etc, but to no avail).

Here is a screenrecording illustrating the issue.

screen-20250209-174133.mp4
@barkyq barkyq added the bug Something isn't working label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant