LDraw.org Discussion Forums
Parts List page merge - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Parts Tracker Discussion (https://forums.ldraw.org/forum-36.html)
+--- Thread: Parts List page merge (/thread-28458.html)



Parts List page merge - Orion Pobursky - 2024-10-15

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.


RE: Parts List page merge - Orion Pobursky - 2024-10-15

(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


RE: Parts List page merge - Orion Pobursky - 2024-10-15

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.


RE: Parts List page merge - Willy Tschager - 2024-10-16

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.


RE: Parts List page merge - Orion Pobursky - 2024-10-16

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.