Skip to content

Retrieve Reddit title when sharing link with floccus on on Android #1854

@de-code

Description

@de-code

Describe the feature you'd like to request

Currently when sharing a Reddit link with floccus on it just populates the title with the generic title "Reddit - Dive into anything".
Instead it should use the title of the actual Reddit post.

So for example when sharing https://www.reddit.com/r/browsers/comments/lxhiyt/floccus_now_supports_syncing_bookmarks_across/, the title should be floccus now supports syncing bookmarks across browsers via Google Drive .

Describe the solution you'd like

While the title element in the header is generic, there are places within the HTML that do contain the title:

      <h1
      id="post-title-t3_lxhiyt"
      slot="title"
      class="font-semibold text-neutral-content-strong m-0 text-18 xs:text-24  mb-xs px-md xs:px-0 xs:mb-md  overflow-hidden"
      aria-label="Post Title: floccus now supports syncing bookmarks across browsers via Google Drive"
      aria-describedby="feed-post-credit-bar-t3_lxhiyt"
    >
       floccus now supports syncing bookmarks across browsers via Google Drive <faceplate-perfmark name="first-post-meaningful-paint"></faceplate-perfmark>
    </h1>

And:

<shreddit-title title="floccus now supports syncing bookmarks across browsers via Google Drive : r/browsers"></shreddit-title>

Describe alternatives you've considered

I tried sharing with Brave browser and Stealth Reddit client.

Another alternative is to share the link with myself on some messaging app to proceed on a desktop (not using floccus in that case).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions