Parts List page merge


Parts List page merge
#1
Currently we have:
https://library.ldraw.org/tracker/list
and
https://library.ldraw.org/official/list

and for individual parts we have:
https://library.ldraw.org/tracker/<part id number>
and
https://library.ldraw.org/official/<part id number>

Behinds the scene these 2 page pairs are the same. They use the same code and just tailor the output based on whether a part/part list is official or not.

I've like to merge these URL pairs into:
https://library.ldraw.org/parts/list
and
https://library.ldraw.org/parts/<part id number>

Additionally,
Part Search will be merged into Part List.

In fact, most of the /tracker URLs will be come /parts URLs (with redirects of course).

Thoughts?

Additional Note:
The current file direct access URLs will remain unchanged:
https://library.ldraw.org/library/unofficial/<part folder and number>.dat
https://library.ldraw.org/library/official/<part folder and number>.dat

There are also direct filename url (e.g.):
https://library.ldraw.org/tracker/parts/41577.dat
https://library.ldraw.org/official/parts/3001.dat
There is an open question on how to handle these.
Reply
RE: Parts List page merge
#2
(2024-10-15, 19:36)Orion Pobursky Wrote: There are also direct filename url (e.g.):
https://library.ldraw.org/tracker/parts/41577.dat
https://library.ldraw.org/official/parts/3001.dat
There is an open question on how to handle these.

Here's my proposal on this case:
https://library.ldraw.org/parts/<part folder and number>.dat
for the example:
https://library.ldraw.org/parts/parts/41577.dat
https://library.ldraw.org/parts/p/4-4cyli.dat
https://library.ldraw.org/parts/s/3001s01.dat

for fixes we could do:
https://library.ldraw.org/unofficial/parts/<part folder and number>.dat
or
https://library.ldraw.org/parts/unofficial/<part folder and number>.dat
or even
https://library.ldraw.org/parts/<partfolder and number>.dat/unofficial
Reply
RE: Parts List page merge
#3
Another idea:

Parts list and search:
/parts/list

Individual part:
/parts/<id>

Access by filename:
/parts/filename/<part folder and name>
fix:
/parts/filename/unofficial/<part folder and name>

All other /tracker URLs will change to /parts

Direct file access will remain the same.
Reply
RE: Parts List page merge
#4
It should somehow mirror the current structure we have on a disc:

LDraw/parts
LDraw/p/48
LDraw/Unofficial/parts
LDraw/Unofficial/P/8

w.
LEGO ergo sum
Reply
RE: Parts List page merge
#5
I'd like all "parts" related pages to be under one label, just like all OMR stuff is /omr/*. Right now its a split between /tracker/* and /official/* but the lines between those 2 areas have blurred.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)