[wp-meta] [Making WordPress.org] #659: Add Website and Twitter fields to Speakers post type / shortcode
Making WordPress.org
noreply at wordpress.org
Mon Nov 24 00:44:29 UTC 2014
#659: Add Website and Twitter fields to Speakers post type / shortcode
-------------------------+-------------------------------------------------
Reporter: iandunn | Owner:
Type: | Status: new
enhancement | Component: wordcamp.org
Priority: low | Keywords: good-first-bug has-patch dev-
Resolution: | feedback
-------------------------+-------------------------------------------------
Comment (by iandunn):
Replying to [comment:1 BrashRebel]:
> I'm wondering if this could be enhanced and simplified by retrieving the
website and Twitter links from the user's .org profile. Would that be a
good idea?
That's a really good idea. One potential drawback is that some speakers
will have multiple websites or Twitter accounts, and might want the
flexibility to feature a different one for different camps.
That's probably an edge case, though, and wouldn't outweigh the benefit of
organizer's not having to manually ask for and enter data that we can grab
automatically. It will also probably increase the number of speaker posts
that actually have data, since we won't be relying on speakers and
organizers to do extra work.
So, lets remove the fields and grab the data automatically, then cache it.
It should be pulled whenever the username on the post changes, and also
when the cache is older than 24 hours.
The best way to handle the cache is to always display the cached data,
even if it's stale. We don't want to slow down the page load waiting on a
remote service. If it is stale, though, we should kick off an asynchronous
request for new data, and then update the cached value if that request
succeeds. The updated value will then be available for the next page load.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/659#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list